Skip to content

Instantly share code, notes, and snippets.

@jmeridth
Created September 23, 2010 18:02
Show Gist options
  • Select an option

  • Save jmeridth/594061 to your computer and use it in GitHub Desktop.

Select an option

Save jmeridth/594061 to your computer and use it in GitHub Desktop.
powershell permissions issue, needed to set Get-ExecutionPolicy
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.
File C:\Users\jasonmeridth\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get-help about_signin
g" for more details.
At line:1 char:2
+ . <<<< 'C:\Users\jasonmeridth\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1'
+ CategoryInfo : NotSpecified: (:) [], PSSecurityException
+ FullyQualifiedErrorId : RuntimeException
#### THIS POST HELPED ME FORWARD: http://technet.microsoft.com/en-us/library/ee176949.aspx
PS C:\Users\jasonmeridth> Get-ExecutionPolicy
Restricted
PS C:\Users\jasonmeridth> Set-ExecutionPolicy RemoteSigned
Execution Policy Change
The execution policy helps protect you from scripts that you do not trust. Changing the execution policy might expose you to the security risks described in the about_Execution_Policies help topic.
Do you want to change the execution policy?
[Y] Yes [N] No [S] Suspend [?] Help (default is "Y"):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment