Get-CMPackageDeploymentStatus

Gets the status of classic software distribution deployments.

Syntax

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

Description

The Get-CMPackageDeploymentStatus 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

PS C:\> Get-CMPackageDeploymentStatus -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
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InputObject
Type:IResultObject
Aliases:Package, Advertisement, Deployment
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-PackageId
Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

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

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

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

Inputs

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject

Outputs

System.Object