PowerShell command parsing

L

Larry__Weiss

The PowerShell parsing rule where a prospective command that
doesn't match is reparsed with "Get-" appended to it sure
gets confusing sometimes.

It works fine with
PS C:> psprovider
to get an equivalent to
PS C:> get-psprovider

but doesn't work with
PS C:> process
where you would expect to get an equivalent to
PS C:> get-process

I suppose that's because
process
is a PowerShell language keyword.

I guess I need to test all the "Get-*" commands to see
if the reparse with "Get-" appended is effective.

- Larry
 

My Computer

Top