Get-CMDeploymentStatus

Gets the status of classic software distribution deployments.

Syntax

Get-CMDeploymentStatus
   -DeploymentId <String>
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-StatusType <PackageDeploymentStatusType>]
   [<CommonParameters>]
Get-CMDeploymentStatus [-DisableWildcardHandling] [-ForceWildcardHandling] -InputObject 
 [-StatusType ] []
Get-CMDeploymentStatus [-DisableWildcardHandling] [-ForceWildcardHandling] [-Name ]
 [-StatusType ] []
Get-CMDeploymentStatus [-DisableWildcardHandling] [-ForceWildcardHandling] -PackageId 
 [-StatusType ] []

Description

The Get-CMDeploymentStatus cmdlet gets the status of one or more classic software distribution deployments. A classic software distribution is a legacy software distribution program on a client.

Examples

Example 1: Get the status of a deployment

PS C:\> Get-CMDeploymentStatus -Name "Depack01"

This command gets the status of a deployment that is distributed to Configuration Manager clients by using the deployment package named Depack01.

Required Parameters

-DeploymentId
Type:String
Aliases:Id
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InputObject

Specifies the input to this cmdlet. You can use this parameter, or you can pipe the input to this cmdlet.

Type:IResultObject
Required:True
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-PackageId
Type:String
Required:True
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-DisableWildcardHandling

Indicates that wildcard handling is disabled.

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

Indicates that wildcard handling is enabled.

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies an array of names of deployment packages.

Type:String
Aliases:PackageName
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-StatusType
Type:PackageDeploymentStatusType
Parameter Sets:Any, Success, InProgress, RequirementsNotMet, Unknown, Error
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False