Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Reply To: Registry key issue

$
0
0

It’s probably nothing, but have you tried using single quotes instead of double quotes when using Get-RegValue. For example:

get-regvalue -computername $strcomputer -key 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{16F60D62-07F4-4077-8BE2-2180ABC32349}'

I’m just wondering if it’s hitting some kind of error because all of the examples on the Wiki for this tool shows it not using any quotes at all and I’m wondering if the usage of double quotes is causing it to try to interpret what you’re passing. Another option, sticking with the examples provided for this cmdlet\module is to not use quotes at all:

get-regvalue -computername $strcomputer -key SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{16F60D62-07F4-4077-8BE2-2180ABC32349}

Neither of these could be it, but it seems worth a try.


Viewing all articles
Browse latest Browse all 13067

Trending Articles