Get-ItemProperty Example 4's explanation has an incorrect comment on the command - by FLGM

Status : 


Sign in
to vote
ID 842553 Comments
Status Active Workarounds
Type Bug Repros 0
Opened 3/28/2014 8:43:26 AM
Access Restriction Public


Example 4 for shown by Get-Help Item-Property -Examples reads as follows 
-------------------------- EXAMPLE 4 --------------------------

PS C:\>Get-ItemProperty -path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion -name "ProgramFilesDir"

This command gets the value name and data of the ProgramFilesDir registry entry in the CurrentVersion registry
subkey. The command uses the Path parameter to specify the subkey and the Name parameter to specify the value name
of the entry.

The command uses a back tick or "grave accent" (`), the Windows PowerShell continuation character, to continue the
command on the second line.
The last paragraph describes a back tick used in "the command", but it seems that the command in the example as it currently stands has no backtick. This may be an artifact of early documentation being updated and the back tick explanation being overlooked for removal.

Cheers ;D
Sign in to post a comment.