Get-CMAutoDeploymentRuleDeployment

SYNOPSIS

Gets the deployments associated with an automatic deployment rule.

SYNTAX

ByName (Default)

Get-CMAutoDeploymentRuleDeployment [[-Name] <String>] [-DisableWildcardHandling] [-ForceWildcardHandling]
 [<CommonParameters>]

ById

Get-CMAutoDeploymentRuleDeployment [-Id] <Int32> [-DisableWildcardHandling] [-ForceWildcardHandling]
 [<CommonParameters>]

ByValue

Get-CMAutoDeploymentRuleDeployment [-InputObject] <IResultObject> [-DisableWildcardHandling]
 [-ForceWildcardHandling] [<CommonParameters>]

DESCRIPTION

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

EXAMPLES

Example 1: Get a deployment object for an automatic deployment rule

PS C:\>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 C:\>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

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

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
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
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Id

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

Type: Int32
Parameter Sets: ById
Aliases: AutoDeploymentID

Required: True
Position: 0
Default value: None
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
Parameter Sets: ByValue
Aliases: AutoDeploymentRule

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-Name

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

Type: String
Parameter Sets: ByName
Aliases: AutoDeploymentName

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

IResultObject#SMS_AdrDeploymentSettings

NOTES

New-CMAutoDeploymentRuleDeployment

Remove-CMAutoDeploymentRuleDeployment

Set-CMAutoDeploymentRuleDeployment

Get-CMSoftwareUpdateAutoDeploymentRule