Home Dashboard Directory Help
Search

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


Status: 

Active


1
0
Sign in
to vote
Type: Bug
ID: 842553
Opened: 3/28/2014 8:43:26 AM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

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
Details
Sign in to post a comment.
Sign in to post a workaround.