20.4. Summary

The Windows registry stores important information that supports the startup and running of machines with modern Windows operating systems. The Registry Editor allows you to inspect and manipulate keys and values in the registry.

You can use the set-location cmdlet to navigate around the registry. Use the get-itemproperty cmdlet to inspect values in a key. Use the set-itemproperty cmdlet to change values.

Use the new-item cmdlet to create a new key in the registry. Use the remove-item cmdlet to remove a key from the registry. Use the remove-item cmdlet with great care. Test out possible deletions by using the -whatif parameter to see what a command does before deciding whether or not to execute it.

Get Professional Windows® PowerShell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.