Get-CMPackageDeploymentStatus
Get the status of classic software distribution deployments.
Syntax
Get-CMPackageDeploymentStatus
[-Name <String>]
[-StatusType <PackageDeploymentStatusType>]
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[<CommonParameters>]
Get-CMPackageDeploymentStatus
-DeploymentId <String>
[-StatusType <PackageDeploymentStatusType>]
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[<CommonParameters>]
Get-CMPackageDeploymentStatus
-InputObject <IResultObject>
[-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.
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 the status of a deployment
This command gets the status of a deployment that is distributed to Configuration Manager clients by using the deployment package named Depack01.
Get-CMPackageDeploymentStatus -Name "Depack01"
Parameters
-DeploymentId
Specifies the ID of a deployment
Type: | String |
Aliases: | Id |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DisableWildcardHandling
This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ForceWildcardHandling
This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
Specifies a deployment package.
Type: | IResultObject |
Aliases: | Package, Advertisement, Deployment |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
Specifies the name of a package.
Type: | String |
Aliases: | PackageName |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | True |
-PackageId
Specifies the ID of a package.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-StatusType
Specifies a status type.
Type: | PackageDeploymentStatusType |
Accepted values: | Any, Success, InProgress, RequirementsNotMet, Unknown, Error |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
Microsoft.ConfigurationManagement.ManagementProvider.IResultObject
Outputs
System.Object
Notes
Cmdlet aliases: Get-CMDeploymentStatus