The registry provider is a Windows-only provider that allows access to the local registry of a host. All local hives can be navigated like a filesystem, with the usual provider cmdlets.
Working with the registry provider
How to do it...
Install and start PowerShell Core on Windows and execute the following steps:
- Execute the following code to list items in the local machine registry hive:
# Like the filesystem, the local registry hives can be browsed.
# ACLs apply, so AccessDenied errors aren't uncommon
Get-ChildItem HKLM:\SOFTWARE
- Since there're no additional filters, you don't have much control over Get-ChildItem, which only returns registry keys and displays their values. Trying to enumerate values this...