PowerCLI 11.1.0 User’s Guide |
Table of Contents
PowerCLI 11.1.0 User’s Guide
- About
-
Introduction to VMware PowerCLI
- Microsoft PowerShell Basics
-
PowerCLI Concepts
- PowerCLI Modules
- Interoperability Between the PowerCLI and vCloud Director PowerCLI Modules
- Selecting Objects in PowerCLI
- Providing Login Credentials
- Running PowerCLI Cmdlets Asynchronously
- Managing Default Server Connections
- Customization Specification Objects in PowerCLI
- Using ESXCLI with PowerCLI
- PowerCLI Inventory Provider
- PowerCLI Datastore Provider
- PowerCLI About Articles
- Installing VMware PowerCLI
- Configuring VMware PowerCLI
- Configuring Customer Experience Improvement Program
-
Sample Scripts for Managing vSphere with VMware PowerCLI
- Connect to a vCenter Server System
- Manage Virtual Machines on vSphere
- Add a Standalone Host to a vCenter Server System
- Set the License Key for a Host on vCenter Server
- Activate Maintenance Mode for a Host on vCenter Server
- Create vSphere Inventory Objects
- Create Virtual Machines on vCenter Server Using an XML Specification File
- Manage Virtual Machine Templates on vCenter Server
- Create and Use Snapshots on vCenter Server
- Update the Resource Configuration Settings of a Virtual Machine on vCenter Server
- Get a List of Hosts on a vCenter Server System and View Their Properties
- Change the Host Advanced Configuration Settings on vCenter Server
- Move a Virtual Machine to a Different Host Using VMware vSphere vMotion
- Move a Virtual Machine to a Different Datastore Using VMware vSphere Storage vMotion
- Move a Virtual Machine to a Different vCenter Server System
- Create a Host Profile on a vCenter Server System
- Apply a Host Profile to a Host on vCenter Server
- Manage Statistics and Statistics Intervals on vCenter Server
- Modify the Settings of the NIC Teaming Policy for a Virtual Switch
- Create a vApp on vCenter Server
- Modify the Properties of a vApp
- Export or Import vApps
- Create an iSCSI Host Storage
- Add Passthrough Devices to a Host and Virtual Machine
- Create a Custom Property Based on an Extension Data Property
- Create a Script-Based Custom Property for a vSphere Object
- Apply a Customization Object to a Cloned Virtual Machine
- Modify the Default NIC Mapping Object of a Customization Specification
- Modify Multiple NIC Mapping Objects of a Customization Specification
- Create Multiple Virtual Machines that Use Static IP Addresses
- Create Multiple Virtual Machines with Two Network Adapters
- Create a vSphere Role and Assign Permissions to a User
- View the Action Triggers for an Alarm on vCenter Server
- Create and Modify Alarm Actions and Alarm Triggers on vCenter Server
- Remove Alarm Actions and Triggers
- Create and Modify Advanced Settings for a Cluster
- Modify the vCenter Server Email Configuration
- Modify the vCenter Server SNMP Configuration
- Use Esxtop to Get Information on the Virtual CPUs of a Virtual Machine
- Filter vSphere Objects with Get-View
- Populate a View Object with Get-View
- Update the State of a Server-Side Object
- Reboot a Host with Get-View
- Modify the CPU Levels of a Virtual Machine with Get–View and Get–VIObjectByVIView
- Browse the Default Inventory Drive
- Create a New Custom Inventory Drive
- Manage Inventory Objects Through Inventory Drives
- Browse the Default Datastore Drives
- Create a New Custom Datastore Drive
- Manage Datastores Through Datastore Drives
- Modify the Timeout Setting for Web Tasks
- Using Tags
-
Network Management with vSphere Distributed Switches
- Create a Distributed Switch and Configure Networking
- Configure a Distributed Switch
- Migrate Virtual Machine Networking Configuration from a vSphere Standard Switch to a vSphere Distributed Switch
- Migrate Physical and Virtual NICs to a vSphere Standard Switch
- Migrate Physical and Virtual NICs to a vSphere Distributed Switch
- Configure the Traffic Shaping Policy
- Configure the Security Policy
- Create a Virtual Machine from a Content Library Item
- Create a vApp from a Content Library Item
- Create a New VM-VM DRS Rule
- Create a New VM-VMHost DRS Rule
-
Sample Scripts for Managing vSphere Policy-Based Storage with VMware PowerCLI
- Create a Tag-Based Storage Policy
- Create a Capability-Based Storage Policy
- Associate a Storage Policy with a Virtual Machine and Its Hard Disk
- Disassociate a Storage Policy Associated with a Virtual Machine and Its Hard Disk
- Enable SPBM on a Cluster and Verify that It Is Enabled
- Remove a Storage Policy
- Edit a Storage Policy
- Export and Import a Storage Policy
- Create a Virtual Machine in a Datastore Compatible with Storage Policy
- Create a vSAN Datastore
- Modify a vSAN Datastore
- Create a vSAN Stretched Cluster
- Create an NFS 4.1 Datastore
- Add a VASA Provider and Create a Policy
- Invoke a Planned Failover on a Replication Group and Reverse the Replication
- Attach a Flat VDisk to a Virtual Machine
- Sample Scripts for Managing VMware Site Recovery Manager with VMware PowerCLI
- Sample Scripts for Managing the vSphere Automation SDK with VMware PowerCLI
-
Sample Scripts for Managing vCloud Director with VMware PowerCLI
- Connect to a vCloud Director Server
- Create and Manage Organizations
- Create and Manage Organization Virtual Data Centers
- Filter and Retrieve Organization Virtual Data Center Networks
- Import a vApp Template from the Local Storage
- Create a vApp Template from a vApp
- Import a vApp from vSphere
- Create and Modify a vApp
- Manage Virtual Machines with vApps
- Manage Virtual Machines and Their Guest Operating Systems
- Retrieve a List of the Internal and External IP Addresses of Virtual Machines in vApps
- Create and Manage Access Control Rules
- Filter and Retrieve vApp Networks
- Create vApp Networks for a Selected vApp
- Modify or Remove vApp Networks
- Sample Scripts for Managing vCloud Air with VMware PowerCLI
- Sample Scripts for Managing vSphere Update Manager with VMware PowerCLI
- Sample Scripts for Managing vRealize Operations Manager with VMware PowerCLI
The VMware PowerCLI User's Guide provides information about installing and using the VMware PowerCLI cmdlets (pronounced “commandlets”) for managing, monitoring, automating, and handling operations for VMware® vSphere, VMware Site Recovery Manager, vSphere Automation SDK, vCloud Director, vCloud Air, vSphere Update Manager, vRealize Operations Manager, VMware Horizon, NSX-T, and VMware Cloud on AWS components.
To help you start with PowerCLI, this documentation includes descriptions of specific PowerCLI concepts and features. In addition, this documentation provides a set of use case examples and sample scripts.
This guide is intended for anyone who wants to install and use PowerCLI. This documentation is written for administrators and developers who are familiar with virtual machine technology and Windows PowerShell.
