Skip to content

Commit 78e1f35

Browse files
committed
Fixed formatting in multiple files - per feedback
1 parent c37e71d commit 78e1f35

26 files changed

+107
-118
lines changed

docset/winserver2022-ps/grouppolicy/Backup-GPO.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ Accept wildcard characters: False
176176
### -Guid
177177
178178
Specifies the GPO to backup by its globally unique identifier (GUID).
179-
The `GUID` uniquely identifies the GPO.
179+
The GUID uniquely identifies the GPO.
180180
181181
You can also refer to the **Guid** parameter by its built-in alias, **Id**. For more information,
182182
see [about_Aliases](/powershell/module/microsoft.powershell.core/about/about_aliases).

docset/winserver2022-ps/grouppolicy/Copy-GPO.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Module Name: GroupPolicy
55
ms.date: 12/20/2016
66
online version: https://learn.microsoft.com/powershell/module/grouppolicy/copy-gpo?view=windowsserver2022-ps&wt.mc_id=ps-gethelp
77
schema: 2.0.0
8-
title: Copy-GPO
8+
title: `Copy-GPO`
99
---
1010

1111
# Copy-GPO
@@ -34,7 +34,7 @@ Copy-GPO [-SourceName] <String> -TargetName <String> [-SourceDomain <String>]
3434

3535
## DESCRIPTION
3636

37-
The **Copy-GPO** cmdlet creates a destination Group Policy Object (GPO) and copies the settings from
37+
The `Copy-GPO` cmdlet creates a destination Group Policy Object (GPO) and copies the settings from
3838
the source GPO to the new GPO. The cmdlet can be used to copy a GPO from one domain to another
3939
domain within the same forest. You can specify a migration table to map security principals and
4040
paths when copying across domains. You can also specify whether to copy the access control list
@@ -103,9 +103,9 @@ Get-GPO -All -Domain "sales1.contoso.com" | ForEach-Object {
103103
This command copies all the GPOs in the `sales1.contoso.com` domain to the `sales2.contoso.com`
104104
domain.
105105

106-
All the GPOs in the source domain are retrieved by using the **Get-GPO** cmdlet using the **All**
107-
parameter. The output of **Get-GPO** is piped into the ForEach-Object command. When each GPO is
108-
evaluated, it is piped into **Copy-GPO** and its display name is specified for the **TargetName**
106+
All the GPOs in the source domain are retrieved by using the `Get-GPO` cmdlet using the **All**
107+
parameter. The output of `Get-GPO` is piped into the `ForEach-Object` command. When each GPO is
108+
evaluated, it is piped into `Copy-GPO` and its display name is specified for the **TargetName**
109109
parameter `-TargetName ($_.DisplayName)`. The **CopyACL** parameter is specified to copy the ACLs
110110
for each GPO to the destination domain. The **MigrationTable** parameter specifies a migration table
111111
to use to migrate Security principals and UNC paths to the destination domain. Both the **CopyACL**
@@ -116,12 +116,12 @@ error occurs when this command attempts to copy the source GPO. Because this com
116116
in the source domain, errors occur for default GPOs; for instance, the Default Domain Policy GPO and
117117
the Default Domain Controllers Policy GPO. These GPOs are not copied. You can suppress these error
118118
messages by supplying the **ErrorAction** parameter with a value of SilentlyContinue to
119-
**Copy-GPO**. For more information about the **ErrorAction** parameter, see
119+
`Copy-GPO`. For more information about the **ErrorAction** parameter, see
120120
[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
121121

122122
The destination GPOs that were successfully copied are returned by this command. By default, they
123123
are printed to the display, but you can add commands to the end of the pipeline to further configure
124-
these GPOs. For example you can add a Set-GPLink cmdlet to the end of the pipeline to link all the
124+
these GPOs. For example you can add a `Set-GPLink` cmdlet to the end of the pipeline to link all the
125125
destination GPOs to a site, domain, or organizational unit.
126126

127127
A trust relationship must exist between the source domain and the destination domain. In addition,
@@ -233,10 +233,10 @@ Accept wildcard characters: False
233233

234234
### -SourceGuid
235235

236-
Specifies the source GPO by its globally unique identifier `GUID`. The `GUID` uniquely identifies
236+
Specifies the source GPO by its globally unique identifier GUID. The GUID uniquely identifies
237237
the GPO.
238238

239-
You can also refer to the **SourceGuid** parameter by its built-in alias, `Id`.
239+
You can also refer to the **SourceGuid** parameter by its built-in alias, **Id**.
240240

241241
```yaml
242242
Type: System.Management.Automation.Guid
@@ -374,7 +374,7 @@ This cmdlet outputs a copy of the specified GPO.
374374

375375
## NOTES
376376

377-
* You can use the **Copy-GPO** cmdlet to copy a GPO within a domain or from one domain to another
377+
* You can use the `Copy-GPO` cmdlet to copy a GPO within a domain or from one domain to another
378378
within the same forest.
379379

380380
You can use the **SourceDomain** and **TargetDomain** parameters to explicitly specify the source

docset/winserver2022-ps/grouppolicy/Get-GPInheritance.md

Lines changed: 10 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -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
2626
domain or organizational unit (OU).
2727

2828
This 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
116116
ComputerVersion : AD Version: 0, SysVol Version: 0
117117
WmiFilter :
118118
119-
120119
DisplayName : TestGPO-2
121120
DomainName : contoso.com
122121
Owner : CONTOSO\Domain Admins
@@ -130,27 +129,17 @@ ComputerVersion : AD Version: 1, SysVol Version: 1
130129
WmiFilter :
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`
134133
and returns the GPOs that are linked to the `MyOU` organizational unit. You can use this command to
135134
set 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
137136
each of the GPOs linked to the OU.
138137

139138
The **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.
159148
Specifies the domain for this cmdlet.
160149
You 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)
163152
for which you want to retrieve inheritance information. If the specified domain is different than
164153
the 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
171160
session (or, for a startup or shutdown script, the computer), a trust must exist between that domain
172161
and 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
175164
information, 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

248237
This cmdlet returns an object that represents the domain or OU. The **GpoInheritanceBlocked**
249238
property 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

docset/winserver2022-ps/grouppolicy/Get-GPO.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ Get-GPO [[-Domain] <String>] [[-Server] <String>] [-All] [<CommonParameters>]
3636

3737
## DESCRIPTION
3838

39-
The **Get-GPO** cmdlet gets one Group Policy Object (GPO) or all the GPOs in a domain. You can
39+
The `Get-GPO` cmdlet gets one Group Policy Object (GPO) or all the GPOs in a domain. You can
4040
specify a GPO by its display name or by its globally unique identifier (GUID) to get a single GPO,
4141
or you can get all the GPOs in the domain through the **All** parameter.
4242

4343
This cmdlet returns one or more objects that represent the requested GPOs. By default, properties of
4444
the requested GPOs are printed to the display; however, you can also pipe the output of the
45-
**Get-GPO** cmdlet to other Group Policy cmdlets.
45+
`Get-GPO` cmdlet to other Group Policy cmdlets.
4646

4747
## EXAMPLES
4848

@@ -127,7 +127,7 @@ Accept wildcard characters: False
127127
Specifies the domain for this cmdlet. You must specify the fully qualified domain name (FQDN) of the
128128
domain.
129129
130-
For the **Get-GPO** cmdlet, the GPO (or GPOs) to that this cmdlet gets must exist in this domain.
130+
For the `Get-GPO` cmdlet, the GPO (or GPOs) to that this cmdlet gets must exist in this domain.
131131

132132
If you do not specify the **Domain** parameter, the domain of the user that is running the current
133133
session is used. If the cmdlet is being run from a computer startup or shutdown script, the domain

docset/winserver2022-ps/grouppolicy/Get-GPOReport.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Get-GPOReport [-ReportType] <ReportType> [[-Path] <String>] [[-Domain] <String>]
3939

4040
## DESCRIPTION
4141

42-
The **Get-GPOReport** cmdlet generates a report in either XML or HTML format that describes
42+
The `Get-GPOReport` cmdlet generates a report in either XML or HTML format that describes
4343
properties and policy settings for a specified Group Policy Object (GPO) or for all GPOs in a
4444
domain. The information that is reported for each GPO includes: details, links, security filtering,
4545
Windows Management Instrumentation (WMI) filtering, delegation, and computer and user
@@ -86,7 +86,7 @@ different from `sales.contoso2.com`, a trust must exist between the two domains.
8686
Get-GPOReport -GUID 73624cc9-e8f2-4f05-8802-193fae8773ce -ReportType XML
8787
```
8888

89-
This command generates a report in XML format for the GPO with the specified `GUID`.
89+
This command generates a report in XML format for the GPO with the specified GUID.
9090
Because no **Path** parameter is supplied, the report is written to the display.
9191

9292
## PARAMETERS
@@ -112,7 +112,7 @@ Accept wildcard characters: False
112112
Specifies the domain for this cmdlet. You must specify the fully qualified domain name (FQDN) of the
113113
domain.
114114
115-
For the **Get-GPOReport** cmdlet:
115+
For the `Get-GPOReport` cmdlet:
116116

117117
- If a single GPO is specified, it must exist in this domain.
118118

docset/winserver2022-ps/grouppolicy/Get-GPPermission.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Get-GPPermission [-Name] <String> [-TargetName <String>] [-TargetType <Permissio
3232

3333
## DESCRIPTION
3434

35-
The **Get-GPPermission** cmdlet gets the permission level for one or more security principals on the
35+
The `Get-GPPermission` cmdlet gets the permission level for one or more security principals on the
3636
specified Group Policy Object (GPO). You can use the **TargetName** and **TargetType** parameters to
3737
specify a user, security group, or computer for which to get the permission level. You can use the
3838
**All** parameter to get the permission level for each security principal that includes: user,
@@ -140,9 +140,9 @@ TestGPO
140140
This command lists the display name of each GPO (in the domain) on which the specified security
141141
principal has permissions.
142142

143-
First, **Get-GPO** is used to retrieve all the GPOs in the domain (**Get-GPO -All**). Then, the
144-
collection is piped into the foreach-object command. As each GPO is evaluated, it is piped into
145-
**Get-GPPermissions**. If a permission level is returned, the DisplayName property of the GPO is
143+
First, `Get-GPO` is used to retrieve all the GPOs in the domain (**Get-GPO -All**). Then, the
144+
collection is piped into the `Foreach-Object` command. As each GPO is evaluated, it is piped into
145+
`Get-GPPermissions`. If a permission level is returned, the DisplayName property of the GPO is
146146
printed ($_.DisplayName).
147147

148148
Note: The ErrorAction parameter is set to SilentlyContinue for Get-GPPermissions. This is because a
@@ -175,7 +175,7 @@ Accept wildcard characters: False
175175
Specifies the domain for this cmdlet.
176176
You must specify the fully qualified domain name (FQDN) of the domain.
177177
178-
For the **Get-GPPermission** cmdlet, the GPO for which to get the permission level must exist in
178+
For the `Get-GPPermission` cmdlet, the GPO for which to get the permission level must exist in
179179
this domain.
180180

181181
If you do not specify the **Domain** parameter, the domain of the user that is running the current
@@ -274,11 +274,11 @@ security principal (domain\account) or just its name.
274274

275275
For instance, in the `contoso.com` domain, to specify:
276276

277-
- The user `someuser`, use `contoso\someuser` or `someuser`.
277+
- The user someuser, use `contoso\someuser` or `someuser`.
278278

279279
- The Domain Admins security group, use `contoso\Domain Admins` or `Domain Admins`.
280280

281-
- The computer `computer-01`, use `contoso\computer-01` or `computer-01`.
281+
- The computer computer-01, use `contoso\computer-01` or `computer-01`.
282282

283283
```yaml
284284
Type: System.String

docset/winserver2022-ps/grouppolicy/Get-GPPrefRegistryValue.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Get-GPPrefRegistryValue [-Name] <String> -Context <GpoConfiguration> -Key <Strin
3333

3434
## DESCRIPTION
3535

36-
The **Get-GPPrefRegistryValue** cmdlet gets one or more Registry preference items under either
36+
The `Get-GPPrefRegistryValue` cmdlet gets one or more Registry preference items under either
3737
Computer Configuration or User Configuration in a Group Policy Object (GPO). You must specify the
3838
*Context* parameter, for the user or computer, to indicate whether to get the Registry preference
3939
item from Computer Configuration or User Configuration. You can specify the GPO by its display name
@@ -167,7 +167,7 @@ Accept wildcard characters: False
167167
Specifies the domain for this cmdlet. You must specify the fully qualified domain name (FQDN) of the
168168
domain.
169169
170-
For the **Get-GPPrefRegistryValue** cmdlet, the GPO for which to get the Registry preference item
170+
For the `Get-GPPrefRegistryValue` cmdlet, the GPO for which to get the Registry preference item
171171
must exist in this domain.
172172

173173
If you do not specify the **Domain** parameter, the domain of the user that is running the current
@@ -359,9 +359,9 @@ supported.
359359
This cmdlet returns **PreferenceRegistrySetting** objects. You can pipe these objects to the
360360
following cmdlets:
361361

362-
- Set-GPPrefRegistryValue
362+
- `Set-GPPrefRegistryValue`
363363

364-
- Remove-GPPrefRegistryValue
364+
- `Remove-GPPrefRegistryValue`
365365

366366
## NOTES
367367

docset/winserver2022-ps/grouppolicy/Get-GPRegistryValue.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Get-GPRegistryValue [-Name] <String> -Key <String> [-ValueName <String>] [-Domai
3333

3434
## DESCRIPTION
3535

36-
The **Get-GPRegistryValue** cmdlet retrieves one or more registry-based policy settings under either
36+
The `Get-GPRegistryValue` cmdlet retrieves one or more registry-based policy settings under either
3737
Computer Configuration or User Configuration in a Group Policy Object (GPO).
3838

3939
You can get registry-based policy settings for a specific registry value, or for all the registry
@@ -131,7 +131,7 @@ to Delete).
131131
Specifies the domain for this cmdlet. You must specify the fully qualified domain name (FQDN) of the
132132
domain (for instance: sales.contoso.com).
133133

134-
For the **Get-GPRegistryValue** cmdlet, the GPO for which to get registry-based policy settings must
134+
For the `Get-GPRegistryValue` cmdlet, the GPO for which to get registry-based policy settings must
135135
exist in this domain.
136136

137137
If you do not specify the **Domain** parameter, the domain of the user that is running the current
@@ -296,9 +296,9 @@ contain GPOs from different domains are not supported.
296296
This cmdlet returns **PolicyRegistrySetting** objects that represent registry-based policy settings.
297297
These objects can be piped into the following cmdlets:
298298

299-
- Set-GPRegistryValue
299+
- `Set-GPRegistryValue`
300300

301-
- Remove-GPRegistryValue
301+
- `Remove-GPRegistryValue`
302302

303303
## NOTES
304304

docset/winserver2022-ps/grouppolicy/Get-GPResultantSetOfPolicy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Get-GPResultantSetOfPolicy [-Computer <String>] [-User <String>] -ReportType <Re
2323

2424
## DESCRIPTION
2525

26-
The **Get-GPResultantSetOfPolicy** cmdlet gets and writes the Resultant Set of Policy (RSoP)
26+
The `Get-GPResultantSetOfPolicy` cmdlet gets and writes the Resultant Set of Policy (RSoP)
2727
information for a user, a computer, or both to a file.
2828

2929
## EXAMPLES

docset/winserver2022-ps/grouppolicy/Get-GPStarterGPO.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ Get-GPStarterGPO [-Domain <String>] [-Server <String>] [-All] [<CommonParameters
3636

3737
## DESCRIPTION
3838

39-
The **Get-GPStarterGPO** cmdlet gets one Starter Group Policy Object (GPO) or all Starter GPOs in a
39+
The `Get-GPStarterGPO` cmdlet gets one Starter Group Policy Object (GPO) or all Starter GPOs in a
4040
domain. You can specify the Starter GPO to get either by display name or by GUID, or you can specify
4141
the **All** parameter to get all the Starter GPOs in the domain.
4242

4343
You can use this cmdlet to get information about a StarterGPO, or you can create a new GPO from a
44-
specified Starter GPO by piping the output of this cmdlet into the **New-GPO** cmdlet.
44+
specified Starter GPO by piping the output of this cmdlet into the `New-GPO` cmdlet.
4545

4646
## EXAMPLES
4747

@@ -95,8 +95,8 @@ WmiFilter :
9595
```
9696

9797
This command creates a GPO named `TestGPO` from the GPO named `Windows Vista EC User` Starter. The
98-
command uses the **Get-SPStarterGPO** cmdlet to get the Starter GPO and is then piped into the
99-
**New-GPO** cmdlet to create the GPO.
98+
command uses the `Get-SPStarterGPO` cmdlet to get the Starter GPO and is then piped into the
99+
`New-GPO` cmdlet to create the GPO.
100100

101101
## PARAMETERS
102102

@@ -121,7 +121,7 @@ Accept wildcard characters: False
121121
Specifies the domain for this cmdlet. You must specify the fully qualified domain name (FQDN) of the
122122
domain.
123123
124-
For the **Get-GPStarterGPO** cmdlet, the Starter GPO must exist in this domain.
124+
For the `Get-GPStarterGPO` cmdlet, the Starter GPO must exist in this domain.
125125

126126
If you do not specify the **Domain** parameter, the domain of the user that is running the current
127127
session is used. If the cmdlet is being run from a computer startup or shutdown script, the domain

0 commit comments

Comments
 (0)