title: How to run powershell command with parameter name is variable
body: <p>I need to run the same command <code>Get-QadUser</code> and <code>Set-QadUser</code> to one property and his value but my property is a variable.</p>
  
  <p>my code (Set doesn't work !) : </p>
  
  <pre><code>$property = 'MobilePhone' # OK
  $value = ($User | get-QadUser -IncludedProperties $property).$property # OK
  $user | Set-QadUser -$PropertyName $NewValue # NOK
  </code></pre>