Syntax
Switch-ActiveDeployRuleSet [[-DeployRuleSet] <DeployRuleSet>] [<CommonParameters>]Related Commands
Get-DeployRuleSetDetailed Description
Activates a rule set so that new PXE requests are evaluated through the rule set. By default, the cmdlet activates the working rule set.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
DeployRuleSet | DeployRuleSet | The rule set to activate. | false | true (ByValue) |
Return Type
VMware.DeployAutomation.Types.DeployRuleSetNotes
Examples
-------------- Example 1 --------------
C:\PS> Switch-ActiveDeployRuleSet
Switch the active deploy rule set to the working deploy rule set.
-------------- Example 2 --------------
C:\PS> Switch-ActiveDeployRuleSet $ruleSet
Switch the active deploy rule set to the rule set stored in the $ruleSet variable.