Tuesday, April 12, 2011

Microsoft.PowerShell_profile.ps1 cannot be loaded….

If you have lunched PS and receiving fallowing  errors , here is quick tip how to fix it
Problem: After lunching PS , receiving errors as fallows , Microsoft.PowerShell_profile.ps1 cannot be loaded….
Solution: Open PS and insert fallowing PS commands
image
PS C:\Windows\System32> Get-ExecutionPolicy        
Run the below command with Elevated Privileges ( Administrator)
Set-Executionpolicy -ExecutionPolicy Unrestricted      
image
image
Get-ExecutionPolicy –List                            

imageRunning Scripts From Within Windows PowerShell
http://technet.microsoft.com/en-us/library/ee176949.aspx

Respectfully,
Oz Casey, Dedeal

MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +
http://smtp25.blogspot.com/ (Blog)
http://telnet25.wordpress.com/(Blog)

No comments: