[Script Of Dec. 09] How to Manage Permissions to Registry Keys in Windows
The script is available for download from https://gallery.technet.microsoft.com//How-to-Manage-Permissions-e5b32b49. You can also use Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment.
This sample demonstrates how to bulk get and set the access permission for registry keys using PowerShell.
If you want to get or set permission for one registry key, it’s easy for you to right click the registry key and click the Permission… option to view or set the permission. But if you need to check or set permissions for multiple registry keys, you may spend much time finishing it. The sample will help you to check or set permission for one or more registry keys using the PowerShell script.
You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery