Solved

Windows PowerShell

In exploring my Windows 7 Ultimate, I found Start > Administrative Tools > Windows PowerShell Modules.
Upon activating the link, the following appeared in a window:

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

WARNING: File C:\Windows\system32\WindowsPowerShell\v1.0\Modules\PSDiagnostics\PSDiagnostics.psm1 cannot be loaded
because the execution of scripts is disabled on this system. Please see "get-help about_signing" for more details.
PS C:\Users\Gandalf>

In searching for "get-help about_signing" I found this on the net...
http://www.proudlyserving.com/about_signing.htm
but the language is a little out of my league.

Can someone please tell me in simple English how to resolve the above WARNING.
ie. how to enable "execution of scripts".

Thanks
7 answers Last reply Best Answer
More about windows powershell
  1. Best answer
    That link is fairly old, and doesn't seem to work nowadays. Have a look here instead.

    The short answer is to type

    Set-ExecutionPolicy Unrestricted

    inot a PowerShell prompt (but you may want to look at the other security levels).
  2. This error is most likely related to Internet Explorer 8 blocking script extensions or a setting within Windows Defender or a third party firewall.

    All the message is really saying is, I can't run this script because it is now allowed.

    Google how to enable execution of scripts in Windows 7
  3. I think the OP is talking about PowerShell, not Internet Explorer. I've tested the method that I linked to and it works just fine.
  4. Thanks, ijack. You hit the nail on the head.
    Your typo had me confused until I realized it was "into".
    "inot" just didn't make any sense. :)
  5. Sorry about the typo. The fingers work faster than the brain.
  6. Ijack said:
    That link is fairly old, and doesn't seem to work nowadays. Have a look here instead.

    The short answer is to type

    Set-ExecutionPolicy Unrestricted

    inot a PowerShell prompt (but you may want to look at the other security levels).



    Thanks, issue solved!
  7. Ijack said:
    That link is fairly old, and doesn't seem to work nowadays. Have a look here instead.

    The short answer is to type

    Set-ExecutionPolicy Unrestricted

    inot a PowerShell prompt (but you may want to look at the other security levels).



    This is the solution to the question. Thanks.

    I always read up on any changes in Policy, like Google ExecutionPolicy. To feel conformable and understand what you just changed.

    Although I have a recent CS degree, these operating systems have complicated and intertwined.
Ask a new question

Read More

Configuration Windows 7 PowerShell