Edit

Share via


Get-CMWindowsServicingPlan

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.

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.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Id

Specifies the AutoDeploymentID of a servicing plan.

Parameter properties

Type:Int32
Default value:None
Supports wildcards:False
DontShow:False
Aliases:AutoDeploymentId

Parameter sets

SearchByIdMandatory
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Name

Specifies the name of a servicing plan.

Parameter properties

Type:String
Default value:None
Supports wildcards:True
DontShow:False

Parameter sets

SearchByNameMandatory
Position:0
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

System.Object