Syntax
Get-CIVAppStartRule [-VApp] <CIVApp[]> [-VM <CIVM[]>] [-Server <CIServer[]>] [-InformationAction <ActionPreference>] [-InformationVariable <String>] [-PipelineVariable <String>] [<CommonParameters>]Related Commands
Online versionDetailed Description
This cmdlet retrieves the start rules for virtual machines in a specified vApp.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
VApp | CIVApp[] | Specifies the vApps whose start rules you want to retrieve. | true | true (ByValue) | |
InformationAction | ActionPreference | false | false | ||
InformationVariable | String | false | false | ||
PipelineVariable | String | false | false | ||
Server | CIServer[] | Specifies the cloud servers on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-CIServer. | false | false | |
VM | CIVM[] | Specifies the virtual machines for which to retrieve start rules. | false | false |
Return Type
Zero or more CIVAppStartRule objectsNotes
Examples
-------------- Example 1 --------------
$myVApp = Get-CIVApp -Name 'MyVApp' Get-CIVAppStartRule -VApp $myVApp
Retrieves all start rules for the specified vApp.
-------------- Example 2 --------------
$myVApp = Get-CIVApp -Name 'MyVApp' $VMinVApp = Get-CIVM 'MyVM' -VApp $myVApp $myVApp | Get-CIVAppStartRule -VM $VMinVApp
Retrieves start rules for the specified virtual machine.