@@ -22,12 +22,12 @@ Get-GPInheritance [-Target] <String> [-Domain <String>] [-Server <String>] [<Com
2222
2323## DESCRIPTION
2424
25- The ** Get-GPInheritance** cmdlet gets information about Group Policy inheritance for a specified
25+ The ` Get-GPInheritance ` cmdlet gets information about Group Policy inheritance for a specified
2626domain or organizational unit (OU).
2727
2828This information includes the following:
2929
30- - A list of GPOs that are linked directly to the location (the ` GpoLinks ` property).
30+ - A list of GPOs that are linked directly to the location (the ** GpoLinks** property).
3131- A list of GPOs that are applied to the location when Group Policy is processed on a client (the
3232 ** InheritedGpoLinks** property).
3333- Whether inheritance is blocked for the location (the ** GpoInheritanceBlocked** property).
@@ -116,7 +116,6 @@ UserVersion : AD Version: 13, SysVol Version: 13
116116ComputerVersion : AD Version: 0, SysVol Version: 0
117117WmiFilter :
118118
119-
120119DisplayName : TestGPO-2
121120DomainName : contoso.com
122121Owner : CONTOSO\Domain Admins
@@ -130,27 +129,17 @@ ComputerVersion : AD Version: 1, SysVol Version: 1
130129WmiFilter :
131130```
132131
133- This command evaluates the SOM object ` Microsoft.GroupPolicy.SOM ` returned by ** Get-GPInheritance**
132+ This command evaluates the SOM object ** Microsoft.GroupPolicy.SOM** returned by ` Get-GPInheritance `
134133and returns the GPOs that are linked to the ` MyOU ` organizational unit. You can use this command to
135134set properties of the GPOs by piping its output into other cmdlets. For instance, you can pipe the
136- output to the ** Set-GPPermissions** cmdlet to delegate permissions to administrators of the OU for
135+ output to the ` Set-GPPermissions ` cmdlet to delegate permissions to administrators of the OU for
137136each of the GPOs linked to the OU.
138137
139138The ** GpoLinks** property of the SOM object contains a list of all the GPO links for the OU.
140- Each object in this list is of type ` Microsoft.GroupPolicy.GpoLink ` .
141- The following shows one such object:
142-
143- ``` Output
144- GpoId : d02126d4-82e8-4e87-b4a0-2d44b6891411
145- DisplayName : TestGPO-3
146- Enabled : True
147- Enforced : False
148- Target : ou=myou,dc=contoso,dc=com
149- Order : 1
150- ```
139+ Each object in this list is of type ** Microsoft.GroupPolicy.GpoLink** .
151140
152- The collection is piped into a foreach-object command, which retrieves each GPO by using the
153- DisplayName property of the GpoLink object.
141+ The collection is piped into a ` Foreach-Object ` command, which retrieves each GPO by using the
142+ ** DisplayName** property of the ** GpoLink** object.
154143
155144## PARAMETERS
156145
@@ -159,7 +148,7 @@ DisplayName property of the GpoLink object.
159148Specifies the domain for this cmdlet.
160149You must specify the fully qualified domain name (FQDN) of the domain.
161150
162- For the ** Get-GPInheritance** cmdlet, this is typically the domain of the container (domain or OU)
151+ For the ` Get-GPInheritance ` cmdlet, this is typically the domain of the container (domain or OU)
163152for which you want to retrieve inheritance information. If the specified domain is different than
164153the domain of the container, a trust must exist between the two domains.
165154
@@ -171,7 +160,7 @@ If you specify a domain that is different from the domain of the user that is ru
171160session (or, for a startup or shutdown script, the computer), a trust must exist between that domain
172161and the domain of the user or the computer.
173162
174- You can also refer to the ** Domain** parameter by its built-in alias, ` DomainName ` . For more
163+ You can also refer to the ** Domain** parameter by its built-in alias, ** DomainName** . For more
175164information, see [ about_Aliases] ( /powershell/module/microsoft.powershell.core/about/about_aliases ) .
176165
177166``` yaml
@@ -247,7 +236,7 @@ An object that represents a domain or an OU.
247236
248237This cmdlet returns an object that represents the domain or OU. The **GpoInheritanceBlocked**
249238property indicates whether inheritance is blocked. You can modify inheritance for the domain or OU
250- by using the ** Set-GPInheritance** cmdlet.
239+ by using the ` Set-GPInheritance` cmdlet.
251240
252241# # NOTES
253242
0 commit comments