title: PowerShell Script to find if a Folder Exists
body: <p>I want a script to find if a Folder Exists (I should be able to provide the Folder Name), it should automatically look at all the Drives and output the full Path.</p>
  
  <p>I  already tried test-path and I tried this </p>
  
  <pre><code>$folder = Get-ChildItem $Reports -Directory -ErrorAction SilentlyContinue 
  If ($Folder) { 'folder exists'} 
  else { 'no folder there'}
  </code></pre>
  
  <p>This will show just folder exists or not, what i am looking for is when i provide a Folder Name (for ex: Reports) it should look in all the Drive and Output the full Path (for ex: c:\Windows\Reports)</p>