Get-CMWindowsServicingPlan

SYNOPSIS

Gets a Windows 10 servicing plan.

SYNTAX

SearchByNameMandatory (Default)

Get-CMWindowsServicingPlan [[-Name] <String>] [-Fast] [<CommonParameters>]

SearchByIdMandatory

Get-CMWindowsServicingPlan [-Id] <Int32> [-Fast] [<CommonParameters>]

DESCRIPTION

The Get-CMWindowsServicingPlan cmdlet gets a Windows 10 servicing plan.

EXAMPLES

Example 1: Get all servicing plans

PS C:\> Get-CMWindowsServicingPlan -Fast

This command gets all Windows 10 servicing plans. The command does not return lazy properties.

Example 2: Get a servicing plan by name

PS C:\> Get-CMWindowsServicingPlan -Name "SvcPlan01"

This command returns the Windows 10 servicing plan named SvcPlan01.

PARAMETERS

-Fast

Indicates that the cmdlet does not automatically refresh lazy properties.

Lazy properties contain values that are relatively inefficient to retrieve which can cause additional network traffic and decrease cmdlet performance. If lazy properties are not used, this parameter should be specified.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Id

Specifies the AutoDeploymentID of a servicing plan.

Type: Int32
Parameter Sets: SearchByIdMandatory
Aliases: AutoDeploymentId

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Name

Specifies the name of a servicing plan.

Type: String
Parameter Sets: SearchByNameMandatory
Aliases: 

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

NOTES

New-CMWindowsServicingPlan