title: Using wildcards in file path
body: <p>I need to search a server for some files... but the file in question is buried in a folder that is under user IDs.  So I am trying to wildcard %username% to get to the folder I want to search.</p>
  
  <p>Tired using %username% and * to wildcard the upper folder to get through to the subfolder.</p>
  
  <pre><code>$Path="\\server\profiles\%username%\Data\"
  $filename='notes.ini'
  
  Get-ChildItem -Path $Path -Recurse -Filter $filename -ErrorAction SilentlyContinue
  </code></pre>
  
  <p>I'm hoping to just search the Data folder for the notes.ini file and not having to search all the folders in between.</p>