PowerCLI Reference

vSphere Auto Deploy Reference

Get-DeployRule

Synopsis

Gets a DeployRule object.

Syntax

Get-DeployRule [[-Name] <String[]>] [<CommonParameters>]

Related Commands

New-DeployRule

Detailed Description

Gets the DeployRule object with the specified name from the VMware Auto Deploy server. If no rule names are given, all visible rules are returned. Hidden rules start with a dot and can be retrieved by using a wildcard pattern that starts with a dot (e.g. '.example*').

Parameters

Name Type Description Required? Pipeline Input Default Value
Name String[] Name of the deploy rule to retrieve. Wildcard patterns can be used here to retrieve multiple rules at a time. false false

Return Type

VMware.DeployAutomation.Types.DeployRule

Notes

Examples

-------------- Example 1 --------------

C:\PS> $rule = Get-DeployRule "testrule"


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