Viewing Registry Value Types

This topic contains 2 replies, has 2 voices, and was last updated by  Greg Tate 1 year, 3 months ago.

  • Author
    Posts
  • #38994

    Greg Tate
    Participant

    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.

  • #38995

    Alex
    Participant

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

    Open Remote Reg

  • #39078

    Greg Tate
    Participant

    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

You must be logged in to reply to this topic.