Syntax
Get-DeployRule [[-Name] <String[]>] [<CommonParameters>]Related Commands
New-DeployRuleDetailed Description
Gets the DeployRule object with the specified name from the VMware Auto Deploy server. If no rule names are given, all visible rules are returned. Hidden rules start with a dot and can be retrieved by using a wildcard pattern that starts with a dot (e.g. '.example*').Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Name | String[] | Name of the deploy rule to retrieve. Wildcard patterns can be used here to retrieve multiple rules at a time. | false | false |
Return Type
VMware.DeployAutomation.Types.DeployRuleNotes
Examples
-------------- Example 1 --------------
C:\PS> $rule = Get-DeployRule "testrule"