PowerShell Fixing Unquoted Search Paths Using Powershell Update I recieved an email identifying an issue and providing a potential solution. The issue was the script would expand environmental variables in paths which could break when the wrong path is expanded