Get-DeployRuleSet
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.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
optional | Active | SwitchParameter | named |
|
Retrieve the active rule set. |
optional | ProgressAction | ActionPreference | named |
|
|
optional | Working | SwitchParameter | named |
|
Retrieve the working rule set. |
Output
Examples
Example 1
Get-DeployRuleSet
Get the active deploy rule set.
Example 2
Get-DeployRuleSet -working
Get the working deploy rule set.
Related Commands
DeployRule
Adds one or more rules to the rule set.
Clones an existing rule.
Gets a DeployRule object.
Creates a new rule.
Removes a rule from the working rule set.
Updates an existing rule.
DeployRuleSet
Gets the current working rule set or the current active rule set.
Sets the list of rules in the working rule set.
DeployRuleSetCompliance
Remediate any non-compliant associations discovered by Test-DeployRuleSetCompliance
Checks whether hosts are compliant with rules.