
Copy-VMGuestFile: copying files into a VM with no network
Copy-VMGuestFile is the PowerCLI cmdlet that moves a file between your workstation and the inside of a virtual machine. It does not…
ESXi and vCenter from the command line: esxcli, PowerCLI inventory, snapshots, storage paths and guest operations.

Copy-VMGuestFile is the PowerCLI cmdlet that moves a file between your workstation and the inside of a virtual machine. It does not…

When a datastore goes read only at 02:00, or a LUN that used to have four paths suddenly has three, the answer…

Invoke-VMScript is the PowerCLI cmdlet that runs a script inside the guest operating system of a virtual machine. It does not use…

Get-VMGuestDisk answers a question that no other PowerCLI cmdlet can answer: how much free space is left on the volumes inside a…

Get-VM is the first PowerCLI cmdlet everyone learns and the one most inventory reports are built on. Piping it into Select-Object and…

esxcli is the primary command set on an ESXi host. Almost every configuration and diagnostic action that has a command-line form lives…

After making changes to your storage infrastructure - adding a new LUN, modifying iSCSI or Fibre Channel zoning, connecting a new NAS…

When a datastore loses its backend storage connection, vCenter can keep it registered in its inventory even though the underlying volume is…

This page is a structured reference for the most commonly used VMware PowerCLI cmdlets, organized by task area. Each entry includes the…

Running individual PowerCLI commands interactively is useful for quick checks, but the real value of PowerCLI is in automation: scripts that run…