When working with virtual machines on a SharePoint install, I needed to set the execution-policy to unrestricted.
Then I type in a command and am about to add url for a parameter. Â All of a sudden when I hit a “/” or “.” –I get this PowerShell prompt that I don’t mind confirming once I’ve typed in my command.Â
“Run only scripts that you trust. while scripts from the internet can be useful, this script can potentially harm your computer. Â Do you want to run: C\……
“Do not run” Â “Run Once” “Suspend”
Sure slows down my progress.
Hey Stephan,
Yes, it is PowerShell that warns you.
Do this.
Set-ExecutionPolicy bypass
You won’t see those bugging messages anymore.