Syntax
Get-DeployRuleSet [-Active] [-Working] [<CommonParameters>]Related Commands
Add-DeployRuleDetailed Description
Gets the current working rule set or the current active rule set. The active rule set governs how new hosts are to be deployed. The working set can be used to test out changes before making them active. By default, any cmdlets that change the rule set will immediately activate the change. However, you can pass the NoActivate parameter to the cmdlet to delay activation until Switch-ActiveDeployRuleSet is called on the working rule set.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Active | SwitchParameter | Retrieve the active rule set. | false | false | |
Working | SwitchParameter | Retrieve the working rule set. | false | false |
Return Type
VMware.DeployAutomation.Types.DeployRuleSetNotes
Examples
-------------- Example 1 --------------
C:\PS> Get-DeployRuleSet
Get the active deploy rule set.
-------------- Example 2 --------------
C:\PS> Get-DeployRuleSet -working
Get the working deploy rule set.