title: Assign an object parameter value without $
body: <p>In some cases, it would be more convenient for me to assign parameters for objects excluding $, and using the name of the object. That is, as usual:</p>
  
  <pre><code>$Comment = New-Object System.Windows.Forms.Label
  $Comment.Text = 'Stack Overflow'
  </code></pre>
  
  <p>All is well. But the next method does not work. This method cannot be assigned "Stack Overflow" to an object:</p>
  
  <pre><code>$Comment = New-Object System.Windows.Forms.Label
  (Set-Variable -Name Comment).Text = 'Stack Overflow'
  </code></pre>
  
  <p>Why do I need this? Because I want to select an object by name (string), and not with $. Please tell me how you can assign text (or other parameters) without assigning directly, but through the name of the object? thanks</p>