PowerTip: Use PowerShell to Find Registry Access

Doctor Scripto

Dr Scripto

Summary: Use Windows PowerShell to find registry access.

Hey, Scripting Guy! Question How can I use Windows PowerShell to get the ACL for a registry key?

Hey, Scripting Guy! Answer Use the Get-ACL cmdlet on a key in a Windows PowerShell registry drive.
          The following example shows access to the HKLM\Software\Microsoft key
:

Get-acl HKLM:\SOFTWARE\Microsoft

Doctor Scripto
Dr Scripto

Scripter, PowerShell, vbScript, BAT, CMD

Follow Dr Scripto   

0 comments

    Leave a comment