Get-CMWindowsServicingPlan

Gets a Windows 10 servicing plan.

Syntax

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

Description

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

Note

Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>. For more information, see getting started.

Examples

Example 1: Get all servicing plans

PS XYZ:\> 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 XYZ:\> 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
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Id

Specifies the AutoDeploymentID of a servicing plan.

Type:Int32
Aliases:AutoDeploymentId
Position:0
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Name

Specifies the name of a servicing plan.

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

Inputs

None

Outputs

System.Object