Powershell 'help' returns nothing

0

I am unable to get output when I run help... in Powershell version 2.0. Server 2K8R2 SP1. Get-Help... works as expected.

winarm

Posted 2013-04-12T19:15:48.960

Reputation: 189

1Do you get any output if you type (dir function:\help).definition at the PS prompt? – Karan – 2013-04-12T19:24:35.677

Yes. I get the .forwardhelptargetname and .forwardhelpcategory along with the parameters. – winarm – 2013-04-12T21:02:11.647

That's weird. Since the function seems to be present I've no idea why the help command is not working. – Karan – 2013-04-12T21:09:15.793

2Try Get-Command help and see if there are no aliases defined. Also - try to run PowerShell without profile (powershell.exe -noprofile) and check if same behavior is visible also there. – BartekB – 2013-04-14T09:14:56.953

It works now. The server was not restarted, so there is nothing that changed over the weekend; uptime is 27 days. The get-command shows the function and application CommandType. Everything works as it should. Weird. Thanks for the suggestions. – winarm – 2013-04-15T13:44:27.630

No answers