Skip to content

Instantly share code, notes, and snippets.

@9to5IT
Created June 23, 2016 12:06
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save 9to5IT/0e0920108503c5841ecc5067e8cbd188 to your computer and use it in GitHub Desktop.
Save 9to5IT/0e0920108503c5841ecc5067e8cbd188 to your computer and use it in GitHub Desktop.
PowerShell: Enumerate & Search Registry Key values with PowerShell
$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