Windows File search is a pain in the XXX, so I PowerShell-ed it
I have grown tired of finding a file on a Microsoft machine. In Windows 2012 server, it gets easier with their "Search everything" feature but sometimes you're not so lucky to be on a machine with a newer OS. Here is a little PowerShell script I use to find files. It is so much easier!
$FileName = "MyFile.SQL"
Get-ChildItem -Path "C:\" -Recurse -ErrorAction Ignore | select Name, directory | Where name -eq $FileName