This site uses cookies for analytics, personalized content and ads. By continuing to browse this site, you agree to this use. Learn More

Skip to main content
Microsoft
Scripting
Scripting
  • Home
    • App Center
    • Azure DevOps
    • Visual Studio
    • Visual Studio Code
    • Visual Studio for Mac
    • Azure Artifacts
    • Azure Boards
    • Azure Pipelines
    • Azure Repos
    • Azure Test Plans
    • DevOps
    • Diagnostics
    • Setup
    • C++
    • Java
    • JavaScript
    • PowerShell
    • Python
    • Q#
    • Scripting
    • TypeScript
    • Visual Basic
    • Visual C#
    • Visual F#
    • .NET
    • ASP.NET
    • Xamarin
    • Apps for Windows
    • Azure Government
    • Bing Dev Center
    • Command Line
    • DirectX Developer Blog
    • IoT Developer
    • Microsoft Edge Dev
    • Microsoft Azure
    • Office 365 Development
    • Old New Thing
    • PIX on Windows
    • Premier Developer
    • OData
    • Revolutions R
    • SQL Server Data Tools

    Scripting

    registry Archives | Scripting

    Dr Scripto
    PowerTip: Use PowerShell Tab Expansion to Navigate Registry
    The Scripting GuysThe Scripting GuysAugust 21, 2015Aug 21, 201508/21/15

    Summary: Use the Windows PowerShell tab expansion feature to quickly navigate the Windows registry.
     How can I use Windows PowerShell to explore settings in the Windows registry?
     Use a cmdlet like Get-Item, Get-ItemProperty, or Get-ItemPropertyValue, specify the drive (such as HKCU),      

    Dr Scripto
    New PowerShell 5 Feature Provids Better Registry Support
    The Scripting GuysThe Scripting GuysAugust 21, 2015Aug 21, 201508/21/15

    Summary: Ed Wilson, Microsoft Scripting Guy, talks about a new feature in Windows PowerShell 5.0 that providers better registry support.
    Microsoft Scripting Guy, Ed Wilson, is here. The Windows PowerShell registry drive has always been somewhat of a love-hate relationship with me.

    Dr Scripto
    Use PowerShell to Move User Files and Update Registry
    The Scripting GuysThe Scripting GuysApril 24, 2015Apr 24, 201504/24/15

    Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to move user files and update the registry.
     Hey, Scripting Guy! I need to move a bunch of user files from their local computer to a network share so we can back up the user's data prior to migrating their desktops.

    Dr Scripto
    PowerTip: Use PowerShell to Read Registry Key Property Value
    The Scripting GuysThe Scripting GuysApril 2, 2015Apr 2, 201504/2/15

    Summary: Use Windows PowerShell to read a registry key property value.
     How can I use Windows PowerShell to read a registry key property value so I can find the version of a particular software package?
     Use the Get-ItemProperty cmdlet, for example:
    Get-ItemProperty -Path HKCU:\Software\ScriptingGuys\Scripts -Name version

    Dr Scripto
    Update or Add Registry Key Value with PowerShell
    The Scripting GuysThe Scripting GuysApril 2, 2015Apr 2, 201504/2/15

    Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to update or add a registry key value.
     Hey, Scripting Guy! I am having a problem trying to update the registry. I am using the New-ItemProperty cmdlet, but it fails if the registry key does not exist.

    Dr Scripto
    PowerTip: Use PowerShell to Display Registry Keys
    The Scripting GuysThe Scripting GuysFebruary 6, 2015Feb 6, 201502/6/15

    Summary: Learn how to use Windows PowerShell to display registry keys.
     How can I use Windows PowerShell to provide a list of registry keys that I can filter, instead of using Regedit to search?
     Use the Get-ItemProperty cmdlet and point it to a specific registry hive.

    Dr Scripto
    Use PowerShell DSC to Configure the Registry
    The Scripting GuysThe Scripting GuysFebruary 6, 2015Feb 6, 201502/6/15

    Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell and Desired State Configuration to configure the registry.
    Microsoft Scripting Guy, Ed Wilson, is here. I thought I would piggy-back a bit on the excellent posts that Windows PowerShell MVP,

    Dr Scripto
    Registry Cmdlets: Complete the Registry CDXML Module
    The Scripting GuysThe Scripting GuysFebruary 5, 2015Feb 5, 201502/5/15

    Summary: Richard Siddaway shows how to complete the registry CDXML module.
    Honorary Scripting Guy, Richard Siddaway, here today filling in for my good friend, The Scripting Guy. This is the final post in a series. To catch up, read:

    Registry Cmdlets: Working with the Registry
    Registry Cmdlets: First Steps with CDXML
    Registry Cmdlets: Advanced CDXML

    So far,

    Dr Scripto
    Registry Cmdlets: Advanced CDXML
    The Scripting GuysThe Scripting GuysFebruary 4, 2015Feb 4, 201502/4/15

    Summary: Richard Siddaway shows some advanced features in CDXML.
    Honorary Scripting Guy, Richard Siddaway, here today filling in for my good friend, The Scripting Guy. This is the third post in a series. To catch up, read:

    Registry Cmdlets: Working with the Registry
    Registry Cmdlets: First Steps with CDXML

    Yesterday,

    Dr Scripto
    PowerTip: Use PowerShell to Find Parameters for CIM Class Method
    The Scripting GuysThe Scripting GuysFebruary 3, 2015Feb 3, 201502/3/15

    Summary: Learn how to discover the parameters for a method in a CIM class.
     How can I find the parameters of a CIM class method, such as GetStringValue in the StdRegprov class?
     Use Get-CimClass to get the class:
    $class = Get-CimClass -ClassName StdRegProv
    To view the methods:
    $class.CimClassMethods
    To view the parameters of a particular method:
    $class.CimClassMethods[“GetStringValue”].Parameters
    You will see the parameter name and data type.

    • 1
    • of
    • 11
    • 
    Relevant Links

    Scripting Forums

    PowerShell Forums

    PowerShell on TechCommunity

    PowerShell.org – Community owned resources for PowerShell

    Top bloggers
    The Scripting Guys

    The Scripting Guys

    Avatar

    ScriptingGuy1

    mredwilson

    mredwilson

    Avatar

    CraigLieb

    Avatar

    I_am_mr_ed

    Twitter Feed

    Tweets by The Scripting Guys

    Stay informed

    What's new

    • NEW Surface Pro 6
    • NEW Surface Laptop 2
    • NEW Surface Go
    • Xbox One X
    • Xbox One S
    • VR & mixed reality
    • Windows 10 apps
    • Office apps

    Microsoft Store

    • Account profile
    • Download Center
    • Microsoft Store support
    • Returns
    • Order tracking
    • Store locations
    • Buy online, pick up in store

    Education

    • Microsoft in education
    • Office for students
    • Office 365 for schools
    • Deals for students & parents
    • Microsoft Azure in education

    Enterprise

    • Microsoft Azure
    • Microsoft Industry
    • Data platform
    • Find a solution provider
    • Microsoft partner resources
    • Microsoft AppSource
    • Health
    • Financial services

    Developer

    • Microsoft Visual Studio
    • Windows Dev Center
    • Developer Network
    • TechNet
    • Microsoft developer program
    • Channel 9
    • Office Dev Center
    • Microsoft Garage

    Company

    • Careers
    • About Microsoft
    • Company news
    • Privacy at Microsoft
    • Investors
    • Diversity and inclusion
    • Accessibility
    • Security
    English (United States)
    • Sitemap
    • Contact Microsoft
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • Safety & eco
    • About our ads
    • © Microsoft 2019