title: How to retrieve exported variable from module?
body: <p>How do I retrieve a variable exported from my module after an import?</p>
  
  <pre><code># in mymodule.psm1
  $myVar = New-Object VarClass
  #assume a function or two here.
  Export-Modulemember -Function * -Variable *
  
  # in myScript.ps1 after module import
  # how do I reference this variable?
  $myScriptVar = $myVar
  </code></pre>
  
  <p>Sorry for the basic question, I cannot find any examples on this simple problem.</p>