Listing Items Properties & Values // EP 05 DEMO // Windows Registry Management Using PowerShell

Опубликовано: 15 Май 2026
на канале: Go Cloud Easily
781
8

############################## Prepare demo enviroment ###################

Start GUI registry editor in elevated priviliged / Administrator mode to cross check things
start regedit -verb runas
############################### RUN DEMO CASES ###########################

1 Read Item Property {Test_Dword_00} and its Value from location {HKLM:\SOFTWARE\1_Test_Key}
Get-ItemProperty -Path HKLM:\SOFTWARE\1_Test_Key -Name Test_Dword_00

2 Read only Selected attributes of value of Property {Test_Dword_00} from path {HKLM:\SOFTWARE\1_Test_Key}
Get-ItemProperty -Path HKLM:\SOFTWARE\1_Test_Key -Name Test_Dword_00 | fl Test_Dword_00,PSDrive

3 Read Item's multiple Properties and their Values, When there is no similarity in name patters of these properties from path {HKLM:\SOFTWARE\1_Test_Key}
Hint - We can use comma to specify multiple properties
Get-ItemProperty -Path HKLM:\SOFTWARE\1_Test_Key -Name Test_Dword_00,Test_Dword_01,Test_Dword_01

4 Read Item's multiple Properties and their Values, When there is similarity in name patters of these properties.
Hint - We can use Wild Card * to specify multiple Properties with some similarity in name pattern.
Get-ItemProperty -Path HKLM:\SOFTWARE\1_Test_Key -Name Test

##############################################################################################################################################

5 Read ONLY value of a particular property {Test_Dword_00} of a Item {1_Test_Key} in Location {HKLM:\SOFTWARE}
Get-ItemPropertyvalue -Path HKLM:\SOFTWARE\1_Test_Key -Name Test_Dword_00