To help you get started with VMware PowerCLI , this documentation provides a set of scripts that illustrate basic and advanced tasks in cloud administration.
What to read next
Connect to a VMware Cloud Director Server To run cmdlets on a VMware Cloud Director server and perform administration or monitoring tasks, you must establish a connection to the server.
Create and Manage Organizations Organizations provide resources to a group of users and set policies that determine how users can consume those resources. Create and manage organizations for each group of users that requires its own resources, policies, or both.
Create and Manage Organization Virtual Data Centers To allocate resources to an organization, you need to create an organization virtual data center (vDC). When the demands of the organization change, you can modify or remove the organization vDC.
Filter and Retrieve Organization Virtual Data Center Networks To generate reports about organization vDC networks, you need to retrieve the respective organization vDC networks. You can use search criteria to filter the results returned by Get-OrgVdcNetwork .
Import a vApp Template from the Local Storage To make an OVF package from your local storage available to other cloud users, you can import the package and save it as a vApp template in a catalog.
Create a vApp Template from a vApp Creating vApp templates from vApps in the cloud might minimize future efforts for cloning vApps. You can use the templates later to create vApps that are based on the source vApp.
Import a vApp from vSphere To make a virtual machine from the underlying vSphere infrastructure available to your VMware Cloud Director server, you can import it and save it as a vApp.
Create and Modify a vApp You can use vApp templates to instantiate vApps. After creating the vApp, you can modify its settings to minimize the consumption of computing and storage resources.
Manage Virtual Machines with vApps For a large-scale approach to administration, you can start, stop, or restart virtual machines or their guest operating systems by running cmdlets on the associated vApps.
Manage Virtual Machines and Their Guest Operating Systems For a targeted approach to administration, you can use the CIVM and CIVMGuest cmdlets to handle lifecycle operations for one or more virtual machines.
Retrieve a List of the Internal and External IP Addresses of Virtual Machines in vApps When managing vApps in the cloud, you might need to obtain information about the NIC settings of the associated virtual machines.
Create and Manage Access Control Rules By defining access control rules you can assign levels of access to separate users, user groups, or everyone in the organization. You can define access control rules for catalogs and vApps.
Filter and Retrieve vApp Networks To generate reports about vApp networks, you need to retrieve the respective vApp networks. You can use search criteria to filter the results returned by Get-CIVAppNetwork .
Create vApp Networks for a Selected vApp To define how the virtual machines in a vApp connect to each other and access other networks, you need to create a vApp network. When creating the vApp network, you can select the settings for the network, or adopt them from an organization policy.
Modify or Remove vApp Networks Based on the type of the vApp network, you can configure various network settings, such as DNS, static IP pools, and firewalls. If you no longer need a vApp network, you can remove it.