Created
June 23, 2016 12:06
-
-
Save 9to5IT/0e0920108503c5841ecc5067e8cbd188 to your computer and use it in GitHub Desktop.
PowerShell: Enumerate & Search Registry Key values with PowerShell
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$RegKey = (Get-ItemProperty 'HKCU:\Volatile Environment') | |
$RegKey.PSObject.Properties | ForEach-Object { | |
If($_.Name -like '*View*'){ | |
Write-Host $_.Name ' = ' $_.Value | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment