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.
Looks like that is unrestricted with no questions ask.
Didn’t know about it. I’ll try it.
thanks Chirag,
Stephan