O'Reilly logo

Mastering PowerCLI by Sajal Debnath

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Managing vApps

So far, we have worked with creating and managing the different aspects of a virtual machine. In this section, I am going to discuss how to manage vApps in a vSphere environment and also import or export OVF or OVA VMs.

We can use the Get-OvfConfiguration cmdlet to get and control the required parameters of an OVF or OVA template.

First, let's check the Get-OvfConfiguration cmdlet to get the configuration of an OVF template:

Managing vApps

In Chapter 9, Managing the vSphere API, we will discuss how to modify these parameters in order to supply the values from the command line.

We can use the Import-VApp cmdlet to import an existing vApp:

In the preceding ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required