title: variable in brackets not recognised
body: <p>I'm trying to write a script to search for a username using wildcard characters as per below.  The variable name must be included in brackets for the netapp commandlet to work - however the variable <code>$aduser</code> is not picked up from keyboard input and does not work - how do I get the <code>$aduser</code> wildcard variable picked up ?</p>
  
  <p>Script prompts for an adusername e.g. <code>testy</code> and lists the groups user is a member of:</p>
  
  <pre><code>$aduser = Read-Host -Prompt 'Specify all or part of username: '
  write-host
  
  (Get-ADUser -Filter {name -like "*$aduser*"})
  </code></pre>