Get-CMAutoDeploymentRuleDeployment

Gets the deployments associated with an automatic deployment rule.

Syntax

Get-CMAutoDeploymentRuleDeployment
   [[-Name] <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [<CommonParameters>]
Get-CMAutoDeploymentRuleDeployment
   [-Id] <Int32>
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [<CommonParameters>]
Get-CMAutoDeploymentRuleDeployment
   [-InputObject] <IResultObject>
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [<CommonParameters>]

Description

The Get-CMAutoDeploymentRuleDeployment cmdlet gets the deployments associated with an automatic deployment rule.

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 a deployment object for an automatic deployment rule

PS XYZ:\>Get-CMAutoDeploymentRuleDeployment -Name "AutoDeploymentRule01"

This command gets the deployment object for the automatic deployment rule named AutoDeploymentRule01.

Example 2: Get a deployment object for an automatic deployment rule using the pipeline

PS XYZ:\>Get-CMSoftwareUpdateAutoDeploymentRule -Name "TestRule01" | Get-CMAutoDeploymentRuleDeployment

This command gets the automatic deployment rule object named TestRule01 and uses the pipeline operator to pass the object to Get-CMAutoDeploymentRuleDeployment, which gets the deployments associated with the automatic deployment rule named TestRule01.

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

-Id

Specifies the ID of the automatic deployment rule associated with the deployment.

Type:Int32
Aliases:AutoDeploymentID
Position:0
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Specifies the auto deployment rule object associated with the deployment. To obtain an auto deployment rule object, use the Get-CMSoftwareUpdateAutoDeploymentRule cmdlet.

Type:IResultObject
Aliases:AutoDeploymentRule
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Name

Specifies the name of the automatic deployment rule associated with the deployment.

Type:String
Aliases:AutoDeploymentName
Position:0
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:True

Inputs

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject

Outputs

IResultObject