As I learn an test PowerShell, I always run the command below so I can excute the ps1 script.
Set-ExecutionPolicy Unrestricted
I don't want to leave servers in this state. Is there something I can put in my scripts that will allow me to run scripts, but not leave it in Unrestricted mode?