I'm trying to create a powershell command that will return the value of specific keys in the registry. The name of the keys are "Name" "Data" and "Percentage"
What I have below grabs all the subkeys, but I can't figure out how to just select the names of the keys above and have them outputted to me? It seems like it would be easy, but I can't figure out how to have multiple results in one query. Any help would be appreciated!
Get-ChildItem hklm:\SOFTWARE\Wow6432Node\Software\Softwarename | ForEach-Object {Get-ItemProperty $_.pspath}