Get-CMSoftwareUpdateDeploymentStatus
Get the status of a software update deployment.
Syntax
Get-CMSoftwareUpdateDeploymentStatus
-InputObject <IResultObject>
[-DisableWildcardHandling]
[-ForceWildcardHandling]
[<CommonParameters>]
Description
The Get-CMSoftwareUpdateDeploymentStatus cmdlet gets the status of a software update deployment. Use the Get-CMSoftwareUpdateDeployment cmdlet to get a software update deployment.
Note
Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>
. For more information, see getting started.
Examples
Example 1: Display deployment status for a Patch Tuesday deployment
This example uses the Get-CMSoftwareUpdateDeployment cmdlet to get a software update deployment object. That object is then used as the input to show the status.
$sudeploy = Get-CMSoftwareUpdateDeployment -Name "Patch Tuesday - Office and Edge 2020-07-15 00:11:11"
Get-CMSoftwareUpdateDeploymentStatus -InputObject $sudeploy
Parameters
-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
Specify a software update deployment object for which to get status. Use the Get-CMSoftwareUpdateDeployment cmdlet to get this object.
Type: | IResultObject |
Aliases: | SoftwareUpdate, Assignment, Deployment |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
Microsoft.ConfigurationManagement.ManagementProvider.IResultObject
Outputs
System.Object