VMworld 2015/Day to Day Automation with PowerCLI
Jump to navigation
Jump to search
Day to Day Automation of VMware Products to Increase Productivity and Efficiency
by Brian Graf of VMware
http://blogs.vmware.com/PowerCLI/
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
PowerCLI GUIs
Reference Poster
http://bit.ly/PowerCLIPosterv2