Skip to content

Commit 17bf7a5

Browse files
authored
Merge pull request #3133 from robinharwood/roharwoo_cau_stage_3_text_formatting
Bulk text formatting updates to the clusterawareupdating module
2 parents 31c073e + 5982f20 commit 17bf7a5

17 files changed

+202
-204
lines changed

docset/winserver2022-ps/clusterawareupdating/Add-CauClusterRole.md

+47-48
Original file line numberDiff line numberDiff line change
@@ -19,39 +19,39 @@ Adds the CAU clustered role that provides the self-updating functionality to the
1919

2020
```
2121
Add-CauClusterRole [-VirtualComputerObjectName <String>] [-GroupName <String>]
22-
[-StartDate <DateTime>] [-DaysOfWeek <Weekdays>] [-WeeksOfMonth <Int32[]>]
23-
[-CauPluginName <String[]>] [-CauPluginArguments <Hashtable[]>] [-MaxFailedNodes <Int32>]
24-
[-MaxRetriesPerNode <Int32>] [-NodeOrder <String[]>] [-PreUpdateScript <String>]
25-
[-PostUpdateScript <String>] [-ConfigurationName <String>] [-RequireAllNodesOnline]
26-
[-WarnAfter <TimeSpan>] [-StopAfter <TimeSpan>] [-RebootTimeoutMinutes <Int32>] [-SeparateReboots]
27-
[-RunPluginsSerially] [-StopOnPluginFailure] [-EnableFirewallRules] [-FailbackMode <FailbackType>]
28-
[-SuspendClusterNodeTimeoutMinutes <Int32>] [[-ClusterName] <String>] [[-Credential] <PSCredential>]
29-
[-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
22+
[-StartDate <DateTime>] [-DaysOfWeek <Weekdays>] [-WeeksOfMonth <Int32[]>]
23+
[-CauPluginName <String[]>] [-CauPluginArguments <Hashtable[]>] [-MaxFailedNodes <Int32>]
24+
[-MaxRetriesPerNode <Int32>] [-NodeOrder <String[]>] [-PreUpdateScript <String>]
25+
[-PostUpdateScript <String>] [-ConfigurationName <String>] [-RequireAllNodesOnline]
26+
[-WarnAfter <TimeSpan>] [-StopAfter <TimeSpan>] [-RebootTimeoutMinutes <Int32>] [-SeparateReboots]
27+
[-RunPluginsSerially] [-StopOnPluginFailure] [-EnableFirewallRules] [-FailbackMode <FailbackType>]
28+
[-SuspendClusterNodeTimeoutMinutes <Int32>] [[-ClusterName] <String>] [[-Credential] <PSCredential>]
29+
[-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
3030
```
3131

3232
### Weekly
3333

3434
```
3535
Add-CauClusterRole [-VirtualComputerObjectName <String>] [-GroupName <String>]
36-
[-StartDate <DateTime>] [-DaysOfWeek <Weekdays>] [-IntervalWeeks <Int32>]
37-
[-CauPluginName <String[]>] [-CauPluginArguments <Hashtable[]>] [-MaxFailedNodes <Int32>]
38-
[-MaxRetriesPerNode <Int32>] [-NodeOrder <String[]>] [-PreUpdateScript <String>]
39-
[-PostUpdateScript <String>] [-ConfigurationName <String>] [-RequireAllNodesOnline]
40-
[-WarnAfter <TimeSpan>] [-StopAfter <TimeSpan>] [-RebootTimeoutMinutes <Int32>] [-SeparateReboots]
41-
[-RunPluginsSerially] [-StopOnPluginFailure] [-EnableFirewallRules] [-FailbackMode <FailbackType>]
42-
[-SuspendClusterNodeTimeoutMinutes <Int32>] [[-ClusterName] <String>] [[-Credential] <PSCredential>]
43-
[-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
36+
[-StartDate <DateTime>] [-DaysOfWeek <Weekdays>] [-IntervalWeeks <Int32>]
37+
[-CauPluginName <String[]>] [-CauPluginArguments <Hashtable[]>] [-MaxFailedNodes <Int32>]
38+
[-MaxRetriesPerNode <Int32>] [-NodeOrder <String[]>] [-PreUpdateScript <String>]
39+
[-PostUpdateScript <String>] [-ConfigurationName <String>] [-RequireAllNodesOnline]
40+
[-WarnAfter <TimeSpan>] [-StopAfter <TimeSpan>] [-RebootTimeoutMinutes <Int32>] [-SeparateReboots]
41+
[-RunPluginsSerially] [-StopOnPluginFailure] [-EnableFirewallRules] [-FailbackMode <FailbackType>]
42+
[-SuspendClusterNodeTimeoutMinutes <Int32>] [[-ClusterName] <String>] [[-Credential] <PSCredential>]
43+
[-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
4444
```
4545

4646
## DESCRIPTION
4747

48-
The **Add-CauClusterRole** cmdlet adds the Cluster-Aware Updating (CAU) clustered role that provides
48+
The `Add-CauClusterRole` cmdlet adds the Cluster-Aware Updating (CAU) clustered role that provides
4949
the self-updating functionality to the specified cluster. When the CAU clustered role has been added
5050
to a cluster, the failover cluster can update itself on the schedule that is specified by the user,
5151
without requiring an external computer to coordinate the cluster updating process.
5252

5353
To run this cmdlet, Windows PowerShell® remoting must be enabled on each node. To do this, run the
54-
**Enable-PSRemoting** cmdlet. In addition, ensure that the Windows Remote Management - Compatibility
54+
`Enable-PSRemoting` cmdlet. In addition, ensure that the Windows Remote Management - Compatibility
5555
Mode (HTTP-In) firewall exception is enabled on each node.
5656

5757
## EXAMPLES
@@ -80,8 +80,8 @@ The CAU clustered role is configured to perform Updating Runs on Tuesdays and Sa
8080
second and fourth weeks of each month. In an Updating Run, the maximum number of failed nodes is two
8181
and the maximum number of retries per node is two. A script called verifyupdatesinstalled.ps1 runs
8282
on each node after it has been fully updated. Before an Updating Run can begin, all the nodes of
83-
that cluster must be running. If it is not already enabled, the Remote Shutdown Windows Firewall
84-
rule group will be enabled on each cluster node. Because the command uses the *Force* parameter, the
83+
that cluster must be running. If it isn't already enabled, the Remote Shutdown Windows Firewall
84+
rule group will be enabled on each cluster node. Because the command uses the **Force** parameter, the
8585
cmdlet runs without displaying confirmation prompts.
8686

8787
This example uses splatting to pass parameter values from the `$parameters` variable to the command.
@@ -107,9 +107,9 @@ This command adds the CAU clustered role, using a default name, on the cluster c
107107
The CAU clustered role is configured to perform Updating Runs on Tuesdays and Saturdays at an
108108
interval of every three weeks. In an Updating Run, the maximum number of failed nodes is two and the
109109
maximum number of retries per node is two. Updating Runs can begin even when the nodes of the
110-
cluster are not all running (if the cluster itself has quorum and is running). If it is not already
110+
cluster aren't all running (if the cluster itself has quorum and is running). If it isn't already
111111
enabled, the Remote Shutdown Windows Firewall rule group will be enabled on each cluster node.
112-
Because the command uses the *Force* parameter, the cmdlet runs without displaying confirmation
112+
Because the command uses the **Force** parameter, the cmdlet runs without displaying confirmation
113113
prompts.
114114

115115
This example uses splatting to pass parameter values from the `$parameters` variable to the command.
@@ -133,12 +133,12 @@ Add-CauClusterRole @parameters
133133

134134
This command adds the CAU clustered role, using a default name, on the cluster called CONTOSO-FC1.
135135
The CAU clustered role is configured to perform updates using the **Microsoft.WindowsUpdatePlugin**
136-
plug-in with the optional *IncludeRecommendedUpdates* parameter set to True, and using the
137-
**Microsoft.HotfixPlugin plug-in** using the hotfix root folder \\\\CauHotfixSrv\shareName and the
136+
plug-in with the optional **IncludeRecommendedUpdates** parameter set to True, and using the
137+
**Microsoft.HotfixPlugin plug-in** using the hotfix root folder `\\CauHotfixSrv\shareName` and the
138138
default hotfix configuration file. If a failure occurs during the installation of updates on a node
139139
by **Microsoft.WindowsUpdatePlugin**, updates are applied by **Microsoft.HotfixPlugin plug-in**. If
140-
it is not already enabled, the Remote Shutdown Windows Firewall rule group is enabled on each
141-
cluster node. Because the command uses the *Force* parameter, the cmdlet runs without displaying
140+
it isn't already enabled, the Remote Shutdown Windows Firewall rule group is enabled on each
141+
cluster node. Because the command uses the **Force** parameter, the cmdlet runs without displaying
142142
confirmation prompts.
143143

144144
This example uses splatting to pass parameter values from the `$parameters` variable to the command.
@@ -154,7 +154,7 @@ For instance, to specify a Domain argument for one plug-in:
154154
You can specify multiple pairs in a set separated with semicolons.
155155
For instance:
156156
- `@{name1=value1;name2=value2;name3=value3}` These name=value pairs must be meaningful to the
157-
*CauPluginName* parameter that you specify. If you specify arguments for more than one plug-in,
157+
**CauPluginName** parameter that you specify. If you specify arguments for more than one plug-in,
158158
provide the sets of name=value pairs in the order that you pass values in **CauPluginName**,
159159
separated by commas. For instance:
160160
- `@{name1=value1;name2=value2;name3=value3},@{name4=value4;name5=value5}`
@@ -229,7 +229,7 @@ Accept wildcard characters: False
229229
### -ClusterName
230230
231231
Specifies the name of the cluster on which to create the CAU clustered role. This parameter is only
232-
required when this cmdlet is not run on a failover cluster node, or this cmdlet is used to reference
232+
required when this cmdlet isn't run on a failover cluster node, or this cmdlet is used to reference
233233
a failover cluster different from where the cmdlet is run.
234234
235235
```yaml
@@ -247,9 +247,9 @@ Accept wildcard characters: False
247247
### -ConfigurationName
248248
249249
Specifies the Windows PowerShell session configuration that defines the session in which scripts,
250-
specified by the *PreUpdateScript* and *PostUpdateScript* parameters, and cmdlets are run, and can
250+
specified by the **PreUpdateScript** and **PostUpdateScript** parameters, and cmdlets are run, and can
251251
limit the cmdlets that are available to be run. If either a pre-update or post-update script is
252-
specified but a configuration name is not specified, then the default session configuration that is
252+
specified but a configuration name isn't specified, then the default session configuration that is
253253
built into Windows PowerShell® is used.
254254
255255
```yaml
@@ -327,13 +327,13 @@ Accept wildcard characters: False
327327
### -EnableFirewallRules
328328
329329
Indicates that the cmdlet enables the Remote Shutdown Windows Firewall rule group on each cluster
330-
node, if it is not already enabled. If the *EnableFirewallRules* parameter is specified, CAU will
330+
node, if it isn't already enabled. If the **EnableFirewallRules** parameter is specified, CAU will
331331
also automatically re-enable the Remote Shutdown rule group each time the CAU clustered role
332332
performs an Updating Run, in case the rules are disabled manually in the intervening time. Enabling
333333
this rule group permits inbound communication to each cluster node during each Updating Run that
334334
allows CAU to shut down and restart the node remotely (if the installation of an update requires a
335-
restart). If Windows Firewall is in use on the cluster nodes and the rule group is not enabled, the
336-
Updating Run will fail. The Remote Shutdown Windows Firewall rule group is not enabled when it will
335+
restart). If Windows Firewall is in use on the cluster nodes and the rule group isn't enabled, the
336+
Updating Run will fail. The Remote Shutdown Windows Firewall rule group isn't enabled when it will
337337
conflict with Group Policy settings that are configured for Windows Firewall.
338338
339339
```yaml
@@ -506,7 +506,7 @@ begins, and before the node is put into Maintenance mode. The file name extensio
506506
the total length of the path plus the file name must be no longer than 260 characters. As a best
507507
practice, the script should be located on a disk in cluster storage, or at a highly available
508508
network share, to ensure that the script is always accessible to all the cluster nodes. If a
509-
pre-update script fails, the node is not updated.
509+
pre-update script fails, the node isn't updated.
510510
511511
```yaml
512512
Type: String
@@ -522,7 +522,7 @@ Accept wildcard characters: False
522522
523523
### -RebootTimeoutMinutes
524524
525-
Specifies the time in minutes that CAU allows for the restarting of a node. If the restart does not
525+
Specifies the time in minutes that CAU allows for the restarting of a node. If the restart doesn't
526526
complete within this time, then the Updating Run on that node will be marked as failed.
527527
528528
```yaml
@@ -558,11 +558,11 @@ Accept wildcard characters: False
558558
559559
Indicates that the cmdlet CAU scans each cluster node for applicable updates and stages the updates
560560
for each plug-in in the plug-in order when multiple plug-ins are used during an Updating Run when
561-
you use the *CauPluginName* parameter. By default, CAU scans and stages the applicable updates for
561+
you use the **CauPluginName** parameter. By default, CAU scans and stages the applicable updates for
562562
all plug-ins in parallel. Regardless of the configuration of this parameter, CAU installs the
563563
applicable updates for each plug-in sequentially.
564564
565-
The parameter is valid only when multiple plug-ins are specified in the *CauPluginName* parameter.
565+
The parameter is valid only when multiple plug-ins are specified in the **CauPluginName** parameter.
566566
If a single plug-in is specified, a warning appears.
567567
568568
```yaml
@@ -584,7 +584,7 @@ updates on the node, if the installation of an update by a plug-in requires a re
584584
during an updating run, all plug-ins complete the installation of updates on a cluster node before
585585
the node restarts one time.
586586
587-
The parameter is valid only when multiple plug-ins are specified in the *CauPluginName* parameter.
587+
The parameter is valid only when multiple plug-ins are specified in the **CauPluginName** parameter.
588588
If a single plug-in is specified, a warning appears.
589589
590590
```yaml
@@ -617,7 +617,7 @@ Accept wildcard characters: False
617617
618618
### -StopAfter
619619
620-
Specifies the time in minutes after which the updating run is canceled if it has not completed. The
620+
Specifies the time in minutes after which the updating run is canceled if it hasn't completed. The
621621
time span can be expressed in the standard ways available in Windows PowerShell, for instance,
622622
`01:30:00` represents one hour and thirty minutes. By default, the updating run is allowed an
623623
unlimited amount of time to complete.
@@ -640,9 +640,8 @@ Accept wildcard characters: False
640640
### -StopOnPluginFailure
641641

642642
Indicates that this cmdlet coordinates subsequent updates on the node when plug-ins are stopped.
643-
When multiple plug-ins are used during an updating run, by default, a failure by one plug-in does
644-
not affect the application of updates on a node by other plug-ins. This parameter is valid only when
645-
multiple plug-ins are specified in the *CauPluginName* parameter. If a single plug-in is specified,
643+
When multiple plug-ins are used during an updating run, by default, a failure by one plug-in doesn't affect the application of updates on a node by other plug-ins. This parameter is valid only when
644+
multiple plug-ins are specified in the **CauPluginName** parameter. If a single plug-in is specified,
646645
a warning appears.
647646

648647
```yaml
@@ -659,12 +658,12 @@ Accept wildcard characters: False
659658

660659
### -SuspendClusterNodeTimeoutMinutes
661660

662-
Specifies the maximum amount of time CAU should wait for the **Suspend-ClusterNode** cmdlet to
661+
Specifies the maximum amount of time CAU should wait for the `Suspend-ClusterNode` cmdlet to
663662
succeed if the underlying clustered space is in degraded condition.
664663

665-
If **Suspend-ClusterNode** fails with ERROR_CLUSTER_SPACE_DEGRADED error, CAU will keep retrying for
666-
*SuspendClusterNodeTimeoutMinutes* or suspend the call if the command succeeds. The retries for this
667-
error don not count towards the *MaxRetriesPerNode* parameter set by the user.
664+
If `Suspend-ClusterNode` fails with ERROR_CLUSTER_SPACE_DEGRADED error, CAU will keep retrying for
665+
**SuspendClusterNodeTimeoutMinutes** or suspend the call if the command succeeds. The retries for this
666+
error don't count towards the **MaxRetriesPerNode** parameter set by the user.
668667

669668
The timeout value is per cluster node. So CAU could potentially spend the amount of time specified
670669
for this value for every node in the cluster in the worst case.
@@ -705,7 +704,7 @@ Accept wildcard characters: False
705704
### -WarnAfter
706705

707706
Specifies the time in minutes after which a warning will be logged if the Updating Run (including
708-
any pre-update and post-update scripts) has not completed. By default, no warning will be logged,
707+
any pre-update and post-update scripts) hasn't completed. By default, no warning will be logged,
709708
regardless of the time taken by the Updating Run.
710709

711710
```yaml
@@ -740,7 +739,7 @@ Accept wildcard characters: False
740739
### -WhatIf
741740

742741
Shows what would happen if the cmdlet runs.
743-
The cmdlet is not run.
742+
The cmdlet isn't run.
744743

745744
```yaml
746745
Type: SwitchParameter

docset/winserver2022-ps/clusterawareupdating/Disable-CauClusterRole.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ Suspends the self-updating functionality on the specified cluster.
1717

1818
```
1919
Disable-CauClusterRole [[-ClusterName] <String>] [-Credential <PSCredential>] [-Force] [-WhatIf]
20-
[-Confirm] [<CommonParameters>]
20+
[-Confirm] [<CommonParameters>]
2121
```
2222

2323
## DESCRIPTION
2424

25-
The **Disable-CauClusterRole** cmdlet suspends the self-updating functionality on the specified
25+
The `Disable-CauClusterRole` cmdlet suspends the self-updating functionality on the specified
2626
cluster. The self-updating functionality of the cluster can be re-enabled with the
27-
**Enable-CauClusterRole** cmdlet.
27+
`Enable-CauClusterRole` cmdlet.
2828

2929
## EXAMPLES
3030

@@ -36,14 +36,14 @@ Disable-CauClusterRole -ClusterName CONTOSO-FC1 -Force
3636

3737
This command prevents the CAU clustered role on the CONTOSO-FC1 cluster from performing Updating
3838
Runs. The cmdlet changes the status of the CAU clustered role to Offline. Because the command
39-
specified the *Force* parameter, the cmdlet runs without displaying confirmation prompts.
39+
specified the **Force** parameter, the cmdlet runs without displaying confirmation prompts.
4040

4141
## PARAMETERS
4242

4343
### -ClusterName
4444

4545
Specifies the name of the cluster on which to disable the self-updating functionality. This
46-
parameter is only required when this cmdlet is not run on a failover cluster node, or this cmdlet is
46+
parameter is only required when this cmdlet isn't run on a failover cluster node, or this cmdlet is
4747
used to reference a failover cluster different from where the cmdlet is run.
4848

4949
```yaml
@@ -109,7 +109,7 @@ Accept wildcard characters: False
109109
### -WhatIf
110110
111111
Shows what would happen if the cmdlet runs.
112-
The cmdlet is not run.
112+
The cmdlet isn't run.
113113
114114
```yaml
115115
Type: SwitchParameter

docset/winserver2022-ps/clusterawareupdating/Enable-CauClusterRole.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ Re-enables the self-updating functionality on the specified cluster.
1717

1818
```
1919
Enable-CauClusterRole [[-ClusterName] <String>] [-Credential <PSCredential>] [-Force] [-WhatIf]
20-
[-Confirm] [<CommonParameters>]
20+
[-Confirm] [<CommonParameters>]
2121
```
2222

2323
## DESCRIPTION
2424

25-
The **Enable-CauClusterRole** cmdlet re-enables the self-updating functionality on the specified
25+
The `Enable-CauClusterRole` cmdlet re-enables the self-updating functionality on the specified
2626
cluster. The self-updating functionality of the cluster can be disabled with the
27-
**Disable-CauClusterRole** cmdlet.
27+
`Disable-CauClusterRole` cmdlet.
2828

2929
## EXAMPLES
3030

@@ -36,14 +36,14 @@ Enable-CauClusterRole -ClusterName "CONTOSO-FC1" -Force
3636

3737
This command enables the CAU clustered role on the CONTOSO-FC1 cluster to begin performing Updating
3838
Runs. The cmdlet changes the status of the CAU clustered role to Running. Because the command
39-
specified the *Force* parameter, the cmdlet runs without displaying confirmation prompts.
39+
specified the **Force** parameter, the cmdlet runs without displaying confirmation prompts.
4040

4141
## PARAMETERS
4242

4343
### -ClusterName
4444

4545
Specifies the name of the cluster on which to enable the self-updating functionality. This parameter
46-
is only required when this cmdlet is not run on a failover cluster node, or this cmdlet is used to
46+
is only required when this cmdlet isn't run on a failover cluster node, or this cmdlet is used to
4747
reference a failover cluster different from where the cmdlet is run.
4848

4949
```yaml
@@ -109,7 +109,7 @@ Accept wildcard characters: False
109109
### -WhatIf
110110
111111
Shows what would happen if the cmdlet runs.
112-
The cmdlet is not run.
112+
The cmdlet isn't run.
113113
114114
```yaml
115115
Type: SwitchParameter

0 commit comments

Comments
 (0)