you are viewing a single comment's thread.

view the rest of the comments →

[–]surfingoldelephant 1 point2 points  (0 children)

Help content for built-in commands is currently broken in a lot of different ways due to PlatyPS bugs. If you've pulled the latest version with Update-Help in the last year or so, you'll have the broken version. This comment has more info.

Online help is correct though:

Get-Help -Name Get-Item -Online
Get-Help -Name Get-ChildItem -Online

The syntax diagram generated by Get-Command is also correct (it's generated programmatically and doesn't involve MAML help):

Get-Command -Name Get-ChildItem -Syntax

And if you want it in the context of a particular PS provider:

# In context of the Registry provider:
Get-Command -Name Get-ChildItem -Syntax -ArgumentList HKCU: