Skip to content

Commit 976a8fe

Browse files
committed
Variable casing
1 parent 72b9629 commit 976a8fe

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ that cluster must be running. If it is not already enabled, the Remote Shutdown
8080
rule group will be enabled on each cluster node. Because the command uses the *Force* parameter, the
8181
cmdlet runs without displaying confirmation prompts.
8282

83-
This example uses splatting to pass parameter values from the `$Parameters` variable to the command.
83+
This example uses splatting to pass parameter values from the `$parameters` variable to the command.
8484
Learn more about [Splatting](/powershell/module/microsoft.powershell.core/about/about_splatting).
8585

8686
### Example 2: Add a CAU clustered role on the specified cluster at a specific interval
@@ -135,7 +135,7 @@ it is not already enabled, the Remote Shutdown Windows Firewall rule group is en
135135
cluster node. Because the command uses the *Force* parameter, the cmdlet runs without displaying
136136
confirmation prompts.
137137

138-
This example uses splatting to pass parameter values from the `$Parameters` variable to the command.
138+
This example uses splatting to pass parameter values from the `$parameters` variable to the command.
139139
Learn more about [Splatting](/powershell/module/microsoft.powershell.core/about/about_splatting).
140140

141141
## PARAMETERS

docset/winserver2022-ps/clusterawareupdating/Invoke-CauScan.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ only after the initial updates are installed.
5050
```powershell
5151
$SecPasswd = ConvertTo-SecureString "PlainTextPassword" -AsPlainText -Force
5252
$Cred = New-Object System.Management.Automation.PSCredential ("username", $SecPasswd)
53-
$Parameters = @{
53+
$parameters = @{
5454
ClusterName = 'CONTOSO-FC1'
5555
CauPluginName = 'Microsoft.WindowsUpdatePlugin',
5656
'Microsoft.HotfixPlugin'
@@ -60,7 +60,7 @@ $Parameters = @{
6060
EnableFirewallRules = $true
6161
Force = $true
6262
}
63-
Invoke-CauScan $Parameters -Credential $Cred
63+
Invoke-CauScan $parameters -Credential $Cred
6464
```
6565

6666
This example gets a detailed list of the initial set of updates that would currently be applied to

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,14 @@ exception is enabled on each node.
6767

6868
### Example 1: Configure settings for a CAU cluster role on the specified cluster on the first and second weeks of the month
6969
```powershell
70-
$Parameters = @{
70+
$parameters = @{
7171
ClusterName = 'CONTOSO-FC1'
7272
DaysOfWeek = 'Tuesday'
7373
WeeksOfMonth = '1,2'
7474
RebootTimeoutMinutes = '10'
7575
Force = $true
7676
}
77-
Set-CauClusterRole $Parameters
77+
Set-CauClusterRole $parameters
7878
```
7979

8080
This command configures settings for the CAU clustered role on the cluster named CONTOSO-FC1. The
@@ -89,7 +89,7 @@ Learn more about [Splatting](/powershell/module/microsoft.powershell.core/about/
8989

9090
### Example 2: Configure settings for a CAU cluster role on the specified cluster on the second week of the month
9191
```powershell
92-
$Parameters = @{
92+
$parameters = @{
9393
ClusterName = 'CONTOSO-FC1'
9494
DaysOfWeek = 'Tuesday'
9595
WeeksOfMonth = '1,2'
@@ -98,7 +98,7 @@ $Parameters = @{
9898
PostUpdateScript = 'c:\verifyupdatesinstalled.ps1'
9999
Force = $true
100100
}
101-
Set-CauClusterRole $Parameters
101+
Set-CauClusterRole $parameters
102102
```
103103

104104
```output

0 commit comments

Comments
 (0)