.      How to articles       Windows Services       Group Policy             Donate        
Computer step by step

Custom Commands

GPO PowerShell Regedit CMD

In PowerShell we can use Get-GPRegistryValue cmled to identify the registry key(s) associated with:


More information about Get-GPRegistryValue can be found on this link:

https://docs.microsoft.com/en-us/powershell/module/grouppolicy/get-gpregistryvalue?view=win10-ps


For Enabled we get:

Description:

Specifies commands configured by the administrator for custom logging. These commands will run in addition to default log commands.













Supported on:

At least Windows Server 2008 R2 or Windows 7

For Disabled we get:


Delete the specific key created.