Instantly share code, notes, and snippets.

Embed
What would you like to do?
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