COMMAND EVERYTHING.
Gets Group Policy inheritance information for a specified domain or OU.
Active Directory · Risk: Low · Documentation VerifiedLast verified: 2026-10-26
Microsoft GroupPolicy reference: Gets Group Policy inheritance information for a specified domain or OU. The syntax and selected example below are adapted from the pinned Windows Server 2025 reference. Module availability, target configuration and delegated permissions determine whether it can run in your environment. Documentation and parameter text: Microsoft, CC BY 4.0; formatting adapted by Cmdlet World. No execution testing is claimed.
Get-GPInheritance [-Target] <String> [-Domain <String>] [-Server <String>] [<CommonParameters>]Copied 0 timesUse an account with the target resource permissions documented for Get-GPInheritance. Modifying administrative cmdlets may require elevation or delegated administration. This catalog does not assert that ordinary users can execute the command.
Windows / GroupPolicy · Windows Server 2025 documentation; feature/module prerequisites apply
-Domain-Server-Target (required)Windows with the GroupPolicy module and the Windows feature or management tools that provide it. Confirm target connectivity and version compatibility using the linked Microsoft reference.
This is a read-oriented cmdlet; protect any sensitive results and check the documented effects of your selected parameters.
Get-GPInheritance -Target 'ou=MyOU,dc=contoso,dc=com'This command gets Group Policy inheritance information for the OU named MyOU in the contoso.com domain. The GpoLinks property contains a list of all the GPOs that are linked directly to the GPO, whether their links are enabled or not. The InheritedGpoLinks property contains a list of all the GPOs that are applied when Group Policy is processed on the client. TestGPO-2 and TestGPO-3 appear in this list because their links are enabled. The Default Domain Policy GPO is inherited from the contoso.com domain. If inheritance is blocked, it does not appear in the InheritedGpoLinks property unless its link is enforced at the domain. If its link is enforced, it appears first in the list. Source: Microsoft, CC BY 4.0; transcript prompt/output removed. This example was not executed.
Sign in to keep your own command reference lists.
Explain or customize this command with AI