Reader small image

You're reading from  Mastering PowerCLI

Product typeBook
Published inOct 2015
Reading LevelIntermediate
PublisherPackt
ISBN-139781785286858
Edition1st Edition
Languages
Right arrow
Author (1)
Sajal Debnath
Sajal Debnath
author image
Sajal Debnath

Sajal Debnath is a highly certified Cloud computing technocrat with more than 12 years of experience in virtualized data center design, Cloud computing, and BC/DR solutions. He is an EMCISA, VCAP-DCD/DCA, VCAP-CID/CIA, RHCE 4/5/6, RHCVA, Openstack, and ITIL certified person. He is presently associated with VMware Software India Pvt. Ltd. as a senior system engineer. Previously, he worked with France Telecom, Hewlett Packard, and many more in multiple roles. He is involved in prestigious Indian government projects, such as National Cloud, Digital Locker, and so on.
Read more about Sajal Debnath

Right arrow

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:

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 example, we imported the existing OVA template into an ESXi host, ESXi1.lab.com.

Next, we will discuss how to manage vApps in a vSphere environment. We can use the following cmdlets to manage vApps:

  • Export-VApp

  • Get-VApp

  • Import-VApp

  • Move-VApp

  • New-VApp

  • Remove-VApp

  • Set-VApp

  • Start-VApp

  • Stop-VApp

First, let's get a list of all the existing...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Mastering PowerCLI
Published in: Oct 2015Publisher: PacktISBN-13: 9781785286858

Author (1)

author image
Sajal Debnath

Sajal Debnath is a highly certified Cloud computing technocrat with more than 12 years of experience in virtualized data center design, Cloud computing, and BC/DR solutions. He is an EMCISA, VCAP-DCD/DCA, VCAP-CID/CIA, RHCE 4/5/6, RHCVA, Openstack, and ITIL certified person. He is presently associated with VMware Software India Pvt. Ltd. as a senior system engineer. Previously, he worked with France Telecom, Hewlett Packard, and many more in multiple roles. He is involved in prestigious Indian government projects, such as National Cloud, Digital Locker, and so on.
Read more about Sajal Debnath