title: SetPropertyValue not recognized in powershell
body: <p>My OS is windows 10 and I am using powershell to attempt to create a dsn entry
  This is the command I used:</p>
  
  <pre><code>Add-OdbcDsn -Name MyTest2 -DriverName "SQL Server Native Client 11.0" -DsnType System 
      -SetPropertyValue @("Server=MyServer", "Description=My second Test","User=MyTestUser","Password=12345", "Database=MyTestDB")
  </code></pre>
  
  <p>The dsn entry was created but I got this error:</p>
  
  <pre><code>-SetPropertyValue : The term '-SetPropertyValue' is not recognized as the name of a cmdlet, function, script file, or 
  operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
  At line:2 char:5
  +     -SetPropertyValue @("Server=MyServer", "Description=My se ...
  +     ~~~~~~~~~~~~~~~~~
      + CategoryInfo          : ObjectNotFound: (-SetPropertyValue:String) [], CommandNotFoundException
      + FullyQualifiedErrorId : CommandNotFoundException
  </code></pre>
  
  <p>Please advise what is wrong in my statement and if possible how to fix it? </p>
  
  <p>Update:</p>
  
  <p>I joined the 2 lines </p>
  
  <pre><code>Add-OdbcDsn -Name MyTest3 -DriverName "SQL Server Native Client 11.0" -DsnType System -Platform '32-bit' -SetPropertyValue @("Server=MyServer", "Description=My second Test","User=MyTestUser","Password=12345", "Database=TestDB")
  </code></pre>
  
  <p>and I got this error:</p>
  
  <pre><code>Add-OdbcDsn : Invalid keyword-value pairs (Installer error code: 8).
  At line:1 char:1
  + Add-OdbcDsn -Name MyTest3 -DriverName "SQL Server Native Client 11.0" ...
  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo          : NotSpecified: (MyTest2 (32-bit ODBC System DSN):Root/Microsoft/...SFT_OdbcDsnTask) [Add-OdbcD 
     sn], CimException
      + FullyQualifiedErrorId : MI RESULT 0,Add-OdbcDsn
  
  Add-OdbcDsn : Driver's ConfigDSN, ConfigDriver, or ConfigTranslator failed (Installer error code: 11).
  At line:1 char:1
  + Add-OdbcDsn -Name MyTest3 -DriverName "SQL Serv
  </code></pre>