Skip to content

Commit af89243

Browse files
authored
Merge pull request #3161 from robinharwood/roharwoo_clusterawareupdating_rebase
ClusterAwareUpdating module changes for WS2022
2 parents e2fbe31 + d4f27e3 commit af89243

10 files changed

+1190
-415
lines changed

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

+305-113
Large diffs are not rendered by default.

docset/winserver2022-ps/clusterawareupdating/ClusterAwareUpdating.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,11 @@ Exports one or more Updating Run reports into an HTML or CSV-formatted document.
3131
### [Get-CauClusterRole](./Get-CauClusterRole.md)
3232
Gets configuration properties of the CAU clustered role on the specified cluster.
3333

34-
### [Get-CauPlugin](./Get-CauPlugin.md)
35-
Gets information about one or more software updating plug-ins that are registered on the local
36-
computer.
34+
### [Get-CauDeviceInfoForFeatureUpdates](Get-CauDeviceInfoForFeatureUpdates.md)
35+
Gets device information for feature updates to use with CAU.
36+
37+
### [Get-CauPlugin](Get-CauPlugin.md)
38+
Gets information about one or more software updating plug-ins that are registered on the local computer.
3739

3840
### [Get-CauReport](./Get-CauReport.md)
3941
Gets the Updating Run reports for all known Updating Runs, or all Updating Runs that match the
@@ -70,5 +72,3 @@ Tests whether a cluster is properly set up to apply software updates using CAU.
7072

7173
### [Unregister-CauPlugin](./Unregister-CauPlugin.md)
7274
Removes a software updating plug-in from the list of plug-ins that are used by CAU.
73-
74-

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

+23-25
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ cluster. The self-updating functionality of the cluster can be disabled with the
3434
Enable-CauClusterRole -ClusterName "CONTOSO-FC1" -Force
3535
```
3636

37-
This command enables the CAU clustered role on the CONTOSO-FC1 cluster to begin performing Updating
38-
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.
37+
This command enables the CAU clustered role on the **CONTOSO-FC1** cluster to begin performing
38+
Updating Runs. The cmdlet changes the status of the CAU clustered role to Running. The cmdlet runs
39+
without displaying confirmation prompts, as the **Force** parameter was used.
4040

4141
## PARAMETERS
4242

@@ -58,28 +58,28 @@ Accept pipeline input: False
5858
Accept wildcard characters: False
5959
```
6060
61-
### -Confirm
61+
### -Credential
6262
63-
Prompts you for confirmation before running the cmdlet.
63+
Specifies the administrative credentials for the target cluster.
6464
6565
```yaml
66-
Type: SwitchParameter
66+
Type: PSCredential
6767
Parameter Sets: (All)
68-
Aliases: cf
68+
Aliases:
6969

7070
Required: False
7171
Position: Named
72-
Default value: False
72+
Default value: None
7373
Accept pipeline input: False
7474
Accept wildcard characters: False
7575
```
7676
77-
### -Credential
77+
### -Force
7878
79-
Specifies the administrative credentials for the target cluster.
79+
Forces the command to run without asking for user confirmation.
8080
8181
```yaml
82-
Type: PSCredential
82+
Type: SwitchParameter
8383
Parameter Sets: (All)
8484
Aliases:
8585

@@ -90,26 +90,25 @@ Accept pipeline input: False
9090
Accept wildcard characters: False
9191
```
9292
93-
### -Force
93+
### -Confirm
9494
95-
Forces the command to run without asking for user confirmation.
95+
Prompts you for confirmation before running the cmdlet.
9696
9797
```yaml
9898
Type: SwitchParameter
9999
Parameter Sets: (All)
100-
Aliases:
100+
Aliases: cf
101101

102102
Required: False
103103
Position: Named
104-
Default value: None
104+
Default value: False
105105
Accept pipeline input: False
106106
Accept wildcard characters: False
107107
```
108108
109109
### -WhatIf
110110
111-
Shows what would happen if the cmdlet runs.
112-
The cmdlet isn't run.
111+
Shows what would happen if the cmdlet runs. The cmdlet isn't run.
113112
114113
```yaml
115114
Type: SwitchParameter
@@ -128,27 +127,26 @@ Accept wildcard characters: False
128127
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
129128
-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose,
130129
-WarningAction, and -WarningVariable. For more information, see
131-
[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
130+
[about_CommonParameters](/powershell/module/microsoft.powershell.core/about/about_commonparameters).
132131
133132
## INPUTS
134133
135134
### None
136135
137136
## OUTPUTS
138137
139-
### None
138+
### System.Object
140139
141140
## NOTES
142141
143142
## RELATED LINKS
144143
145-
[Add-CauClusterRole](./Add-CauClusterRole.md)
146-
147-
[Disable-CauClusterRole](./Disable-CauClusterRole.md)
144+
[Add-CauClusterRole](add-cauclusterrole.md)
148145
149-
[Get-CauClusterRole](./Get-CauClusterRole.md)
146+
[Disable-CauClusterRole](disable-cauclusterrole.md)
150147
151-
[Remove-CauClusterRole](./Remove-CauClusterRole.md)
148+
[Get-CauClusterRole](get-cauclusterrole.md)
152149
153-
[Set-CauClusterRole](./Set-CauClusterRole.md)
150+
[Remove-CauClusterRole](remove-cauclusterrole.md)
154151
152+
[Set-CauClusterRole](set-cauclusterrole.md)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
1+
---
2+
description: The Get-CauDeviceInfoForFeatureUpdates cmdlet gets device information for feature updates to use with Cluster-Aware Updating (CAU).
3+
external help file: ClusterAwareUpdating.dll-Help.xml
4+
Module Name: ClusterAwareUpdating
5+
ms.date: 09/17/2021
6+
online version: https://docs.microsoft.com/powershell/module/clusterawareupdating/get-caudeviceinfoforfeatureupdates?view=windowsserver2022-ps&wt.mc_id=ps-gethelp
7+
schema: 2.0.0
8+
title: Get-CauDeviceInfoForFeatureUpdates
9+
---
10+
11+
# Get-CauDeviceInfoForFeatureUpdates
12+
13+
## SYNOPSIS
14+
Gets device information for feature updates to use with CAU.
15+
16+
## SYNTAX
17+
18+
```
19+
Get-CauDeviceInfoForFeatureUpdates [[-ClusterName] <String>] [-Credential <PSCredential>]
20+
-PathToDirectory <String> [<CommonParameters>]
21+
```
22+
23+
## DESCRIPTION
24+
25+
The `Get-CauDeviceInfoForFeatureUpdates` cmdlet gets device information for feature updates to use
26+
with Cluster-Aware Updating (CAU).
27+
28+
## EXAMPLES
29+
30+
### Example 1: Get device information
31+
32+
```powershell
33+
$Parameters = @{
34+
ClusterName = 'CONTOSO-FC1'
35+
PathToDirectory = 'C:\temp\contoso-device-info'
36+
}
37+
Get-CauDeviceInfoForFeatureUpdates $Parameters
38+
```
39+
40+
This example gets device information for CAU for the specified cluster. This example uses
41+
splatting to pass parameter values from the `$Parameters` variable to the command. Learn more about
42+
[Splatting](/powershell/module/microsoft.powershell.core/about/about_splatting).
43+
44+
## PARAMETERS
45+
46+
### -ClusterName
47+
48+
Specifies the name of the cluster fow which to get device information.
49+
50+
```yaml
51+
Type: String
52+
Parameter Sets: (All)
53+
Aliases:
54+
55+
Required: False
56+
Position: 0
57+
Default value: None
58+
Accept pipeline input: False
59+
Accept wildcard characters: False
60+
```
61+
62+
### -Credential
63+
64+
Specifies the administrative credentials for the target cluster.
65+
66+
```yaml
67+
Type: PSCredential
68+
Parameter Sets: (All)
69+
Aliases:
70+
71+
Required: False
72+
Position: Named
73+
Default value: None
74+
Accept pipeline input: False
75+
Accept wildcard characters: False
76+
```
77+
78+
### -PathToDirectory
79+
80+
Specifies a directory.
81+
82+
```yaml
83+
Type: String
84+
Parameter Sets: (All)
85+
Aliases:
86+
87+
Required: True
88+
Position: Named
89+
Default value: None
90+
Accept pipeline input: False
91+
Accept wildcard characters: False
92+
```
93+
94+
### CommonParameters
95+
96+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
97+
-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose,
98+
-WarningAction, and -WarningVariable. For more information, see
99+
[about_CommonParameters](/powershell/module/microsoft.powershell.core/about/about_commonparameters).
100+
101+
## INPUTS
102+
103+
### None
104+
105+
## OUTPUTS
106+
107+
### System.String
108+
109+
### Microsoft.ClusterAwareUpdating.ActivityIdMap
110+
111+
## NOTES
112+
113+
## RELATED LINKS
114+
115+
[Get-CauClusterRole](get-cauclusterrole.md)
116+
117+
[Get-CauPlugin](get-cauplugin.md)
118+
119+
[Get-CauReport](get-caureport.md)
120+
121+
[Get-CauRun](get-caurun.md)

docset/winserver2022-ps/clusterawareupdating/Get-CauReport.md

+19-18
Original file line numberDiff line numberDiff line change
@@ -19,38 +19,40 @@ specified dates or other specified parameters.
1919
### AllParamsSet (Default)
2020

2121
```
22-
Get-CauReport [[-ClusterName] <String>] [-Detailed] [-Credential <PSCredential>] [<CommonParameters>]
22+
Get-CauReport [[-ClusterName] <String>] [-Detailed] [-Credential <PSCredential>]
23+
[<CommonParameters>]
2324
```
2425

2526
### RangeParamSet
2627

2728
```
28-
Get-CauReport [[-ClusterName] <String>] [[-StartDate] <DateTime>] [[-EndDate] <DateTime>] [-Detailed]
29-
[-Credential <PSCredential>] [<CommonParameters>]
29+
Get-CauReport [[-ClusterName] <String>] [[-StartDate] <DateTime>] [[-EndDate] <DateTime>]
30+
[-Detailed] [-Credential <PSCredential>] [<CommonParameters>]
3031
```
3132

3233
### LastParamSet
3334

3435
```
35-
Get-CauReport [[-ClusterName] <String>] [-Last] [-Detailed] [-Credential <PSCredential>] [<CommonParameters>]
36+
Get-CauReport [[-ClusterName] <String>] [-Last] [-Detailed] [-Credential <PSCredential>]
37+
[<CommonParameters>]
3638
```
3739

3840
### SpecificReportParamSet
3941

4042
```
41-
Get-CauReport [[-ClusterName] <String>] [-Report <CauReportSummary>] [-Credential <PSCredential>]
42-
[<CommonParameters>]
43+
Get-CauReport [[-ClusterName] <String>] [-Report <CauReportSummary>]
44+
[-Credential <PSCredential>] [<CommonParameters>]
4345
```
4446

4547
## DESCRIPTION
4648

4749
The `Get-CauReport` cmdlet gets the Updating Run reports for all known Updating Runs, or all
4850
Updating Runs that match the specified dates or other specified parameters. This cmdlet can return a
49-
list of all Updating Run reports between the specified **StartDate** and **EndDate** parameters, or if
50-
the **Last** parameter is specified instead of dates, then the cmdlet returns the most recent Updating
51-
Run report. By default, the report contains summaries only, but more detail can be obtained with the
52-
**Detailed** parameter or by using the **Report** parameter and specifying a Cluster-Aware Updating
53-
(CAU) report summary object.
51+
list of all Updating Run reports between the specified **StartDate** and **EndDate** parameters, or
52+
if the **Last** parameter is specified instead of dates, then the cmdlet returns the most recent
53+
Updating Run report. By default, the report contains summaries only, but more detail can be obtained
54+
with the **Detailed** parameter or by using the **Report** parameter and specifying a Cluster-Aware
55+
Updating (CAU) report summary object.
5456

5557
## EXAMPLES
5658

@@ -60,16 +62,16 @@ Run report. By default, the report contains summaries only, but more detail can
6062
Get-CauReport -ClusterName Contoso-FC1 -StartDate 01/01/2012 -Detailed
6163
```
6264

63-
This command gets a detailed list of the updating runs performed on the cluster named Contoso-FC1 on
64-
01/01/2012 or later.
65+
This command gets a detailed list of the updating runs performed on the cluster named **Contoso-FC1**
66+
on 01/01/2012 or later.
6567

6668
### Example 2: Get a detailed list of updating runs from a date span from the specified cluster
6769

6870
```powershell
6971
Get-CauReport -ClusterName "Contoso-FC1" -StartDate 01/01/2012 -EndDate 04/01/2012 -Detailed
7072
```
7173

72-
This command gets a detailed list of the updating runs performed on the cluster called Contoso-FC1
74+
This command gets a detailed list of the updating runs performed on the cluster called **Contoso-FC1**
7375
starting with updating runs on 01/01/2012 and ending with updating runs on 04/01/2012.
7476

7577
### Example 3: Get the last updating run summary from the specified cluster
@@ -79,7 +81,7 @@ $CauReportSummary = Get-CauReport "Contoso-FC1" -Last
7981
Get-CauReport "Contoso-FC1" -Report $CauReportSummary
8082
```
8183

82-
The first command gets the last updating run report summary from the cluster named Contoso-FC1 and
84+
The first command gets the last updating run report summary from the cluster named **Contoso-FC1** and
8385
stores the result in the variable named `$CauReportSummary`.
8486

8587
The second command gets the detailed report from the information stored in the `$CauReportSummary`
@@ -206,7 +208,7 @@ Accept wildcard characters: False
206208
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
207209
-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose,
208210
-WarningAction, and -WarningVariable. For more information, see
209-
[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
211+
[about_CommonParameters](/powershell/module/microsoft.powershell.core/about/about_commonparameters).
210212
211213
## INPUTS
212214
@@ -222,5 +224,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
222224
223225
## RELATED LINKS
224226
225-
[Export-CauReport](./Export-CauReport.md)
226-
227+
[Export-CauReport](export-caureport.md)

0 commit comments

Comments
 (0)