I am trying to run a script in PowerShell to look for a string and I am getting an Access is Denied error. I started PowerShell clicking "Run as Administrator"
The script I am trying to run is
$Location = "C:\Web Sites"
Select-String -path $Location -pattern "H:\\"
How can I get this to run?