PowerCLI cmdlets are created to automate VMware environments administration and to introduce some specific features in addition to the PowerShell concepts.
What to read next
PowerCLI Modules VMware PowerCLI consists of multiple modules that you can install and use according to your needs and environments.
Retrieving vSphere Inventory Objects from Cloud Resources You can retrieve vSphere inventory objects from cloud resources by using the RelatedObject parameter of PowerCLI cmdlets. This interoperability expands your cloud administration, automation, reporting, and troubleshooting options.
Selecting Objects in PowerCLI You can pass strings and wildcards to all parameters that take inventory objects, datastores, OSCustomizationSpec objects, and VIServer objects as arguments. PowerCLI then transforms the strings into PowerShell objects. This approach is called Object-by-Name (OBN) selection.
Processing Non-alphanumeric Characters in PowerCLI When you provide login credentials in the command prompt or in a script file, a PowerShell limitation might prevent PowerCLI from processing non-alphanumeric characters correctly. To prevent login problems, escape the non-alphanumeric characters in your credentials.
Running PowerCLI Cmdlets Asynchronously By default, PowerCLI cmdlets return an output only after completion of the requested tasks. If you want a cmdlet to return to the command line immediately, without waiting for the tasks to complete, you can use the RunAsync parameter.
Managing Default Server Connections in PowerCLI By default, PowerCLI cmdlets run on the vCenter Server or VMware Cloud Director systems you are connected to, if no target servers can be determined from the provided parameters. Use the $DefaultVIServers and $DefaultCIServers variables to manage the default server connections.
Customization Specification Objects in PowerCLI You can use customization specifications to define the configuration settings and parameters for customizing virtual machines during the deployment or cloning process. PowerCLI provides two types of objects for customization specification: persistent and nonpersistent.
Using ESXCLI with PowerCLI With PowerCLI you can invoke ESXCLI commands within your PowerShell session and manage your ESXi hosts.
Using the PowerCLI About Articles Learn about PowerCLI concepts and features from the built-in help articles named About Articles . You can access them through a running PowerCLI process.