Reputation: 2759
We recently had a change in our setup so that my doucuments directory is now based on our network rather than locally.
The problem is that every time I open powershell it now complains that my profile is insecure. I don't really want to go down the route of setting the execution policy to Bypass
just so I can load my profile.
Is there something I can set in the file itself so that PowerShell knows it hasn't been downloaded off the internet. Or can I change where my profile is stored?
I currently have PowerShell 2 installed.
Upvotes: 1
Views: 475
Reputation: 200193
Basically you have three options:
RemoteSigned
or higher).Unrestricted
or Bypass
.Upvotes: 4