Get-CMDeploymentStatus
Get-CMDeploymentStatus
Gets the status of classic software distribution deployments.
Syntax
Parameter Set: SearchByName
Get-CMDeploymentStatus [-Name <String[]> ] [ <CommonParameters>]
Parameter Set: SearchByIdMandatory
Get-CMDeploymentStatus -Id <String[]> [ <CommonParameters>]
Detailed 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.
Parameters
-Id<String[]>
Specifies an array of IDs of deployments.
Aliases |
DeploymentId |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Name<String[]>
Specifies an array of names of deployment packages.
Aliases |
PackageName |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
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.
PS C:\> Get-CMDeploymentStatus -Name "Depack01"