header1   header
header
header Register : : Login header
header
connector   connector
menuleft menuright
submenu   submenu
left
My PowerShell Profile is Not loading
Last Post 04 Dec 2008 01:55 PM by Poshoholic. 1 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Nageswara P NakarikantiUser is Offline
New Member
New Member
Posts:1
Avatar

--
04 Dec 2008 12:59 PM
    Hi All,

    I am very new to Powershell, just instaled..and getting this error when ever i open poershell console..on Win XP SP 3

    Installed /n software's netCmdlets hobbiest verion.

    Please help me.

    FYI: If I run the content of the profile file, it was silent.

    Windows PowerShell
    Copyright (C) 2006 Microsoft Corporation. All rights reserved.

    File C:\WINDOWS\system32\WindowsPowerShell\v1.0\Microsoft.PowerShell_profile.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get-help about_signing" for more details.
    At line:1 char:2
    + . <<<< 'C:\WINDOWS\system32\WindowsPowerShell\v1.0\Microsoft.PowerShell_profile.ps1'
    PS C:\Documents and Settings\Prasad Nakarikanti>
    PoshoholicUser is Offline
    PowerShell MVP, Community Director
    Basic Member
    Basic Member
    Posts:110
    Avatar

    --
    04 Dec 2008 01:55 PM
    You should read the documentation that the error you received refers to. Run the following in PowerShell:

    get-help about_signing | more

    Once you read and understand that, you will want to execute one of the following:

    Set-ExecutionPolicy -ExecutionPolicy Unrestricted
    Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
    Set-ExecutionPolicy -ExecutionPolicy AllSigned

    Don't just go setting it to unrestricted though until you read the documentation in the about_signing help file.

    After you have done that, restart PowerShell and your error should have gone away.

    --
    Kirk Munro [MVP]
    Poshoholic
    http://poshoholic.com
    Kirk Munro [MVP]
    Poshoholic

    My blog: http://poshoholic.com
    Follow me on Twitter: http://twitter.com/poshoholic
    You are not authorized to post a reply.


    Active Forums 4.3
    right
    footer   footer
    footer Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2 footer
    footer   footer