Home All Groups Group Topic Archive Search About

CTP: Error using Get-Help

Author
9 Nov 2007 6:15 PM
Cesar Garcia
Hi, I've just installed Powershell CTP v2 on my Windows XP computer. I was
following quick start guide by June, and wanted to run configure-wsman.ps1.
Of course, I missed setting execution policy, and got my error. So I tried to
check help to remember Set Execution Policy parameters without luck.

File F:\WINDOWS\system32\WindowsPowerShell\v1.0\Configure-Wsman.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:20
+ configure-wsman.ps1 <<<<

PS F:\Documents and Settings\satch> get-help about_signing
Get-Help : Cannot find Help for topic "about_signing".
At line:1 char:9
+ get-help <<<<  about_signing

I tried several other commands, same results. My Windows XP Edition is
Spanish, maybe it has some relationship.

PS F:\WINDOWS\system32\WindowsPowerShell\v1.0> Get-Help Get-PfxCertificate
Get-Help : Error loading help content for Get-PfxCertificate from file
"Microsoft.PowerShell.Security.dll-Help.xml". De
tails: Microsoft.PowerShell.Security.dll-Help.xml.
At line:1 char:9
+ Get-Help <<<<  Get-PfxCertificate
PS F:\WINDOWS\system32\WindowsPowerShell\v1.0> Get-Help Get-Process
Get-Help : Error loading help content for Get-Process from file
"Microsoft.PowerShell.Commands.Management.dll-Help.xml"
.. Details: Microsoft.PowerShell.Commands.Management.dll-Help.xml.
At line:1 char:9
+ Get-Help <<<<  Get-Process

Author
28 Nov 2007 8:27 PM
HectorITNT
Cesar;

The command is set-executionpolicy and then you have four options:
  Restricted - No scripts can run.
  Allsigned - Only signed scripts from a trusted publisher can run.
  Remotesigned - will required download scripts to be signed by a trust
publisher.
  Unrestricted - will run anything.

I would suggest you do at least Remotesigned, to cover for any script you
might download. 

To check your current setting you use Get-Executionpolicy.

Hope this helps.

Show quoteHide quote
"Cesar Garcia" wrote:

> Hi, I've just installed Powershell CTP v2 on my Windows XP computer. I was
> following quick start guide by June, and wanted to run configure-wsman.ps1.
> Of course, I missed setting execution policy, and got my error. So I tried to
> check help to remember Set Execution Policy parameters without luck.
>
> File F:\WINDOWS\system32\WindowsPowerShell\v1.0\Configure-Wsman.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:20
> + configure-wsman.ps1 <<<<
>
> PS F:\Documents and Settings\satch> get-help about_signing
> Get-Help : Cannot find Help for topic "about_signing".
> At line:1 char:9
> + get-help <<<<  about_signing
>
> I tried several other commands, same results. My Windows XP Edition is
> Spanish, maybe it has some relationship.
>
> PS F:\WINDOWS\system32\WindowsPowerShell\v1.0> Get-Help Get-PfxCertificate
> Get-Help : Error loading help content for Get-PfxCertificate from file
> "Microsoft.PowerShell.Security.dll-Help.xml". De
> tails: Microsoft.PowerShell.Security.dll-Help.xml.
> At line:1 char:9
> + Get-Help <<<<  Get-PfxCertificate
> PS F:\WINDOWS\system32\WindowsPowerShell\v1.0> Get-Help Get-Process
> Get-Help : Error loading help content for Get-Process from file
> "Microsoft.PowerShell.Commands.Management.dll-Help.xml"
> . Details: Microsoft.PowerShell.Commands.Management.dll-Help.xml.
> At line:1 char:9
> + Get-Help <<<<  Get-Process