PowerCLI Reference

vSphere Auto Deploy Reference

Get-DeployRuleSet

Synopsis

Gets the current working rule set or the current active rule set.

Syntax

Get-DeployRuleSet [-Active] [-Working] [<CommonParameters>]

Related Commands

Add-DeployRule
Remove-DeployRule

Detailed 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

NameTypeDescriptionRequired?Pipeline InputDefault Value
ActiveSwitchParameterRetrieve the active rule set.falsefalse
WorkingSwitchParameterRetrieve the working rule set.falsefalse

Return Type

VMware.DeployAutomation.Types.DeployRuleSet

Notes

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.


Copyright © 1998 - 2011 VMware, Inc. All rights reserved.