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

[-Active]
[-Working]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
optional
Active
SwitchParameter named Retrieve the active rule set.
optional
Working
SwitchParameter named Retrieve the working rule set.

Output

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.

Related Commands

Feedback

Was this page helpful?