Get-CMMaintenanceWindow
Get-CMMaintenanceWindow
Gets the maintenance windows for a collection.
Syntax
Parameter Set: Default
Get-CMMaintenanceWindow [-CollectionID] <String[]> [ <CommonParameters>]
Detailed Description
The Get-CMMaintenanceWindow cmdlet gets the maintenance windows for specified collections.
Parameters
-CollectionID<String[]>
Specifies an array of collection IDs.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
Examples
Example 1: Get maintenance windows
This command gets the maintenance windows for the specified collection.
PS C:\> Get-CMMaintenanceWindow -CollectionID "AAA0004D"