Viewing Registry Value Types

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.

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

Open Remote Reg

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: