Author Posts

May 12, 2016 at 5:17 am

How can I use PowerShell to view characteristics about registry values?

For instance I would like to determine if a value is a string, dword, or qword.

Running Get-ItemProperty | Select-Object -Property * yields the registry value name and data, but it doesn't indicate the value type.

May 12, 2016 at 5:51 am

I have written a script to do this (sorry to plug my one site) but check this out:

Open Remote Reg

May 14, 2016 at 3:30 am

Thanks for the assist Alex.

I am realizing that get-itemproperty doesn't return as much information as I expected when using the registry provider.

In similar fashion to your script, the following article shows how to use .NET to retrieve the registry value name/type:

http://powershell.com/cs/blogs/tips/archive/2015/04/15/getting-registry-values-and-value-types.aspx