PowerCLI one liners

Instead of keeping a text file of random one-liners I’ve used in the past, I figured it may be more convenient to put it online.

Clear CD-ROM for all VMs
Display VMs with floppy drives
Display IP address of all VMs. Requires VMware Tools installed
Display MAC address of all VMs.
Update VMware Tools on all powered on VMs. Requires existing installation of VMware Tools.
Display datastore capacity details (size, free space, provisioned) Download a VM to a path on the local workstation. VM must be powered off.
Display snapshots older than 30 days

More to come