Get-CMPhasedDeploymentStatus

Use this cmdlet to get the status of a specific phased deployment.

Syntax

Get-CMPhasedDeploymentStatus
   -InputObject <IResultObject>
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [<CommonParameters>]
Get-CMPhasedDeploymentStatus
   -Id <String>
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [<CommonParameters>]
Get-CMPhasedDeploymentStatus
   -Name <String>
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [<CommonParameters>]

Description

Starting in version 2002, use this cmdlet to get the status of a specific phased deployment.

Examples

Example 1: Get status by the deployment name

This example displays the status of a phased deployment based on its name.

Get-CMPhasedDeploymentStatus -Name "myPhasedDeploymentName"

Example 2: Get status of a variable deployment object

This example displays the status of a phased deployment object that's saved into a variable.

$myPhasedDeployment | Get-CMPhasedDeploymentStatus

Parameters

-DisableWildcardHandling
Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling
Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Id

Specify the ID of the phased deployment.

Type:String
Aliases:PhasedDeploymentId
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InputObject

Specify a phased deployment object.

Type:IResultObject
Aliases:PhasedDeployment
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
-Name

Specify the name of the phased deployment.

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

Inputs

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject

Outputs

Microsoft.ConfigurationManagement.PowerShell.Cmdlets.Deployments.PhasedDeploymentInfo