Switch-ActiveDeployRuleSet

Activates a rule set so that new PXE requests are evaluated through the rule set. By default, the cmdlet activates the working rule set. You must have the "AutoDeploy.RuleSet.Activate" privilege on the root folder of vCenter Server to use this cmdlet.

Syntax

[-DeployRuleSet  <DeployRuleSet>]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
optional
DeployRuleSet
DeployRuleSet named
  • pipeline
  • The rule set to activate.

    Output

    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.

    Related Commands

    Feedback

    Was this page helpful?