AuthorizationManager check failed.
At line:1 char:2
+ . <<<< ‘C:\Path\Microsoft.Powershell_profile.ps1’
+ CategoryInfo : NotSpecified: (:) , PSSecurityException
+ FullyQualifiedErrorId : RuntimeException
Here are the steps I took to clear the error in my environment.
– First, check PowerShell to ensure the ExecutionPolicy is not set to “Restricted”.
If it is, set it to either “RemoteSigned” or “Unrestricted” depending upon your security preferences.
If the error continues;
– Check to make sure Windows Management Instrumentation service (WMI) is Enabled and running. If it’s disabled, try enabling it and starting it to see if that clears the error.
– Occasionally, with the ExecutionPolicy set to “RemoteSigned” or “Unrestricted”, this error may occur if the script was downloaded from the internet using Internet Explorer and IE has “blocked” the file. Right-click the file, select “Properties” and click “Unblock”.
– If all else fails, go to the path noted in the error and delete the PowerShell profile file.
If you found the answer to your problem here, please leave me a quick comment to let me know! You can also find me on Google+.