Home Dashboard Directory Help
Search

Registry key names by Shay Levi


Status: 

Active


4
0
Sign in
to vote
Type: Bug
ID: 806568
Opened: 10/25/2013 5:52:16 AM
Access Restriction: Public
1
Workaround(s)
view
0
User(s) can reproduce this bug

Description

When you list a provider and ask for the Name property you get back just the name of the objects and it works well across all providers but the Registry. With the Registry provider you get back the FullName (path) of the registry key ( to get the name one must refer to the PSChildName property).

PS> dir HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion | fl name

Name : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AccountPicture
Name : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo
Name : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Management
(...)
Details
Sign in to post a comment.
Sign in to post a workaround.
Posted by Shay Levi on 10/25/2013 at 5:54 AM
dir HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion | fl pschildname