title: Is it possible to print variable names?
body: <p>Is it possible to print variable names in PowerShell?</p>
  
  <pre><code>$myVariable = "My Value"
  Write-Host "The variable name is ?????"
  </code></pre>
  
  <p>Expected output: </p>
  
  <blockquote>
    <p>The variable name is myVariable</p>
  </blockquote>
  
  <p>Question 2 (more tricky):
  Is it possible to print variable name passed to a function in PowerShell?</p>
  
  <pre><code>Function MyFunc($myArg){
     Write-Host "The variable name is ?????"
  }
  
  $myVariable = "My Value"
  MyFunc $myVariable
  </code></pre>
  
  <p>Expected output: </p>
  
  <blockquote>
    <p>The variable name is myVariable</p>
  </blockquote>