IGGt
IGGt

Reputation: 2759

PowerShell Profile is insecure?

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

Answers (1)

Ansgar Wiechers
Ansgar Wiechers

Reputation: 200193

Basically you have three options:

  • Sign the file (and set your execution policy to RemoteSigned or higher).
  • Add the file location to the Intranet zone (see here or here).
  • Set the execution policy to Unrestricted or Bypass.

Upvotes: 4

Related Questions