VMworld 2015/Day to Day Automation with PowerCLI

Day to Day Automation of VMware Products to Increase Productivity and Efficiency
by Brian Graf of VMware

http://blogs.vmware.com/PowerCLI/

http://www.vtagion.com

Microsoft PowerShell
Made for system administrators, not for programmers

VMware PowerCLI
VMware command line tool leveraging Microsoft PowerShell

PowerCLI 6.0 is backwards compatible to vSphere 5.0

vCheck
by Alan Renouf http://virtu-al.net

Great tool!

Automation
Save time through automation

It may be faster to do it manually once, but if you ever have to do it more than once, a script is best

Basics
Connect-VI New-VICredentialStoreItem Get-VICredentialStoreItem Get-VM Get-Datastore Get-Command *VM* Get-VMHost

esxcli from PowerCLI
$ESXCLI = Get-EsxCLI -VMHost 10.10.10.10 $ESXCLI.system

Reference Poster
http://bit.ly/PowerCLIPosterv2
 * http://blogs.vmware.com/PowerCLI/files/2014/10/PowerCLI58r1v2.pdf