@@ -45,16 +45,16 @@ Remove-GPLink -Name "MyGPO" -Target "OU=MyOU,dc=contoso,dc=com"
4545```
4646
4747``` Output
48- DisplayName : MyGPO
49- DomainName : contoso.com
50- Owner : CONTOSO\Domain Admins
51- Id : 375865b2-3b5f-480f-8f56-2a994ea6e725
52- GpoStatus : AllSettingsEnabled
53- Description :
54- CreationTime : 2/26/2009 11:28:08 PM
55- ModificationTime : 3/5/2009 3:36:34 PM
56- UserVersion : AD Version: 0, SysVol Version: 0
57- ComputerVersion : AD Version: 1, SysVol Version: 1
48+ DisplayName : MyGPO
49+ DomainName : contoso.com
50+ Owner : CONTOSO\Domain Admins
51+ Id : 375865b2-3b5f-480f-8f56-2a994ea6e725
52+ GpoStatus : AllSettingsEnabled
53+ Description :
54+ CreationTime : 2/26/2009 11:28:08 PM
55+ ModificationTime : 3/5/2009 3:36:34 PM
56+ UserVersion : AD Version: 0, SysVol Version: 0
57+ ComputerVersion : AD Version: 1, SysVol Version: 1
5858WmiFilter :
5959```
6060
@@ -76,28 +76,28 @@ This command removes the link between the GPO named MyGPO and the default site.
7676```
7777
7878``` Output
79- DisplayName : TestGPO-3
80- DomainName : contoso.com
81- Owner : CONTOSO\Domain Admins
82- Id : d02126d4-82e8-4e87-b4a0-2d44b6891411
83- GpoStatus : AllSettingsEnabled
84- Description :
85- CreationTime : 2/27/2009 2:59:51 PM
86- ModificationTime : 3/5/2009 3:36:37 PM
87- UserVersion : AD Version: 13, SysVol Version: 13
88- ComputerVersion : AD Version: 0, SysVol Version: 0
89- WmiFilter :
90-
91- DisplayName : TestGPO-2
92- DomainName : contoso.com
93- Owner : CONTOSO\Domain Admins
94- Id : 375865b2-3b5f-480f-8f56-2a994ea6e725
95- GpoStatus : AllSettingsEnabled
96- Description :
97- CreationTime : 2/26/2009 11:28:08 PM
98- ModificationTime : 3/5/2009 3:36:34 PM
99- UserVersion : AD Version: 0, SysVol Version: 0
100- ComputerVersion : AD Version: 1, SysVol Version: 1
79+ DisplayName : TestGPO-3
80+ DomainName : contoso.com
81+ Owner : CONTOSO\Domain Admins
82+ Id : d02126d4-82e8-4e87-b4a0-2d44b6891411
83+ GpoStatus : AllSettingsEnabled
84+ Description :
85+ CreationTime : 2/27/2009 2:59:51 PM
86+ ModificationTime : 3/5/2009 3:36:37 PM
87+ UserVersion : AD Version: 13, SysVol Version: 13
88+ ComputerVersion : AD Version: 0, SysVol Version: 0
89+ WmiFilter :
90+
91+ DisplayName : TestGPO-2
92+ DomainName : contoso.com
93+ Owner : CONTOSO\Domain Admins
94+ Id : 375865b2-3b5f-480f-8f56-2a994ea6e725
95+ GpoStatus : AllSettingsEnabled
96+ Description :
97+ CreationTime : 2/26/2009 11:28:08 PM
98+ ModificationTime : 3/5/2009 3:36:34 PM
99+ UserVersion : AD Version: 0, SysVol Version: 0
100+ ComputerVersion : AD Version: 1, SysVol Version: 1
101101WmiFilter :
102102```
103103
@@ -111,22 +111,6 @@ inherited from higher-level containers are not included. This collection is pipe
111111
112112## PARAMETERS
113113
114- ### -Confirm
115-
116- Prompts you for confirmation before running the cmdlet.
117-
118- ``` yaml
119- Type : System.Management.Automation.SwitchParameter
120- Parameter Sets : (All)
121- Aliases : cf
122-
123- Required : False
124- Position : Named
125- Default value : False
126- Accept pipeline input : False
127- Accept wildcard characters : False
128- ` ` `
129-
130114### -Domain
131115
132116Specifies the domain for this cmdlet. You must specify the fully qualified domain name (FQDN) of the
@@ -139,9 +123,9 @@ For the `Remove-GPLink` cmdlet:
139123- The Active Directory container (site, domain, or OU) that is linked must exist in a domain that
140124 has a trust relationship with this domain.
141125
142- Note : To specify a domain to link to, use the Target parameter.
126+ Note: To specify a domain to link to, use the ** Target** parameter.
143127
144- If you do not specify the Domain parameter, the domain of the user that is running the current
128+ If you do not specify the ** Domain** parameter, the domain of the user that is running the current
145129session is used. If the cmdlet is being run from a computer startup or shutdown script, the domain
146130of the computer is used. For more information, see the Notes section in the full Help.
147131
@@ -167,7 +151,7 @@ Accept wildcard characters: False
167151### -Guid
168152
169153Specifies the GPO for which to remove the link by its globally unique identifier (GUID).
170- The GUID uniquely identifies the GPO.
154+ The ` GUID` uniquely identifies the GPO.
171155
172156You can also refer to the **Guid** parameter by its built-in aliases, **id** and **gpoid**. For more
173157information, see [about_Aliases](/powershell/module/microsoft.powershell.core/about/about_aliases).
@@ -212,8 +196,8 @@ Accept wildcard characters: False
212196Specifies the name of the domain controller that this cmdlet contacts to complete the operation. You
213197can specify either the fully qualified domain name (FQDN) or the host name.
214198
215- If you do not specify the name by using the **Server** parameter, the primary domain controller
216- (PDC) emulator is contacted.
199+ If you do not specify the name using the **Server** parameter, the primary domain controller (PDC)
200+ emulator is contacted.
217201
218202You can also refer to the **Server** parameter by its built-in alias, **DC**. For more information,
219203see [about_Aliases](/powershell/module/microsoft.powershell.core/about/about_aliases).
@@ -239,7 +223,7 @@ or OU from which to remove the link. For instance, for the `MyOU` organizational
239223` ` ` yaml
240224Type: System.String
241225Parameter Sets: (All)
242- Aliases:
226+ Aliases:
243227
244228Required: True
245229Position: Named
@@ -248,6 +232,22 @@ Accept pipeline input: True (ByPropertyName)
248232Accept wildcard characters: False
249233` ` `
250234
235+ # ## -Confirm
236+
237+ Prompts you for confirmation before running the cmdlet.
238+
239+ ` ` ` yaml
240+ Type: System.Management.Automation.SwitchParameter
241+ Parameter Sets: (All)
242+ Aliases: cf
243+
244+ Required: False
245+ Position: Named
246+ Default value: False
247+ Accept pipeline input: False
248+ Accept wildcard characters: False
249+ ` ` `
250+
251251# ## -WhatIf
252252
253253Shows what would happen if the cmdlet runs. The cmdlet is not run.
@@ -276,7 +276,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
276276# # INPUTS
277277
278278# ## Microsoft.GroupPolicy.GpoLink
279- ~~~~
279+
280280This cmdlet accepts an object that represents the link between a GPO and a site, domain, or OU.
281281
282282# # OUTPUTS
@@ -292,4 +292,3 @@ This cmdlet returns the GPO for which the link has been removed.
292292[New-GPLink](./New-GPLink.md)
293293
294294[Set-GPLink](./Set-GPLink.md)
295-
0 commit comments