powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Get-CIVApp



NAME
Get-CIVApp

SYNOPSIS
Retrieves virtual appliances in the cloud.

SYNTAX
Get-CIVApp [[-Name] ] [-Server ] [-Org ] [-OrgNetwork ] [-OrgVdc []>] [-Owner ] [-Status ] []

Get-CIVApp -Id [-Server ] []


DESCRIPTION
Retrieves virtual appliances in the cloud. You cannot use the ID parameter with the other cmdlet parameters.


PARAMETERS
-Name
Specify the names of the virtual appliances you want to retrieve.

Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? true

-Server
Specify the cloud servers on which you want to run the cmdlet. If no value is given to this parameter, the comm
and runs on the default servers. For more information about default servers, see the description of Connect-CIS
erver.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? true

-Org
Specify the organizations for which you want to retrieve virtual appliances.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? true

-OrgNetwork
Specify the organization networks for which you want to retrieve virtual appliances.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? true

-OrgVdc
Specify the organization VDCs for which you want to retrieve virtual appliances.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? true

-Owner
Specify the owners of the cloud virtual appliances you want to retrieve.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? true

-Status
Specify the status of the virtual appliances you want to retrieve.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? true

-Id
Specify the Ids of the virtual appliances you want to retrieve.

Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS



NOTES




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

C:\PS>Get-CIVApp


Gets all visible VApps for the current user.





-------------- Example 2 --------------

C:\PS>Get-CIVApp -Name "MyVApp1"


Gets a single VApp named "MyVApp1".





-------------- Example 3 --------------

C:\PS>Get-CIVApp -ID $CloudVAppId


Gets a VApp with a given ID.





-------------- Example 4 --------------

C:\PS>Get-Org -Name "Organization1" | Get-CIVApp


Gets all visible VApps within an organization.





-------------- Example 5 --------------

C:\PS>Get-OrgNetwork -Name "OrgNetwork1" | Get-CIVApp


Gets all visible VApps within an organization's network.





-------------- Example 6 --------------

C:\PS>Get-OrgVdc -Name "OrgVdc1" | Get-CIVApp


Gets all visible VApps within an organization virtual datacenter (pipeline).





-------------- Example 7 --------------

C:\PS>Get-CIUser -Name "CloudUserOrg1Admin1" | Get-CIVApp


Gets VApp by its owner (pipeline).





-------------- Example 8 --------------

C:\PS>Get-CIVApp -Status "PoweredOn"


Gets all VApps by their state.






RELATED LINKS
Online version: http://www.vmware.com/support/developer/PowerCLI/PowerCLI501/html/Get-CIVApp.html
Get-CIVAppTemplate
Import-CIVApp
Import-CloudVAppTempate