San Diego VMUG Oct 2009

2,104 views

Published on

This is the presentation I gave at the San Diego VMUG on October 22, 2009. I demoed a number of scripts which you can find at http://blogs.vmware.com/vipowershell

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,104
On SlideShare
0
From Embeds
0
Number of Embeds
1,161
Actions
Shares
0
Downloads
41
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

San Diego VMUG Oct 2009

  1. 1. vSphere PowerCLI<br />The best tool for automating vSphere<br />http://vmware.com/go/powercli<br />
  2. 2. You need to automate!<br />You’re only one click away from a new VM, application or network.<br />Your virtual environment is not “out of control” – having to manage more than before is the new reality.<br />http://vmware.com/go/powercli<br />
  3. 3. SDVMUG October 2009<br />A brief intro to PowerCLI.<br />Reporting with PowerCLI.<br />VM Provisioning and Lifecycle.<br />Storage Management.<br />Q + A.<br />http://vmware.com/go/powercli<br />
  4. 4. What is PowerCLI?<br />PowerCLI is an automation tool.<br />Designed with the admin in mind.<br />You don’t need to spend weeks learning the API.<br />Based on Windows PowerShell.<br />Provides a modern and powerful scripting framework.<br />http://vmware.com/go/powercli<br />
  5. 5. PowerCLI Supports:<br />ESX 3.0+<br />VirtualCenter/vCenter 2.0+<br />Any version of Windows that supports PowerShell.<br />http://vmware.com/go/powercli<br />
  6. 6. PowerCLI Goals.<br />Power:<br />Automate any vSphere action.<br />Simplicity:<br />Any vSphere admin can read PowerCLI code and immediately understand what it does.<br />http://vmware.com/go/powercli<br />
  7. 7. Why we automate.<br />Automation leads to uniformity.<br />Diversity is a phone call at 2 in the morning.<br />“Those who cannot automate are condemned to repeat themselves.”<br /> -- Some Internet person.<br />http://vmware.com/go/powercli<br />
  8. 8. People use PowerCLI to…<br />Clone hundreds of VMs from a template.<br />Perform mass migrations with Storage VMotion.<br />Easily integrate vSphere with other apps.<br />More than 500 examples on our community.<br />http://vmware.com/go/powercli<br />http://vmware.com/go/powercli<br />
  9. 9. Demo<br />A 5 Minute Tour of PowerCLI.<br />http://vmware.com/go/powercli<br />
  10. 10. Reporting<br />3 Types Of Reporting<br />Inventory<br />Get-* cmdlets<br />Events<br />Get-VIEvent<br />Performance<br />Get-Stat<br />http://vmware.com/go/powercli<br />
  11. 11. Demo<br />Reporting<br />http://vmware.com/go/powercli<br />
  12. 12. Just to repeat myself<br />3 Types Of Reporting<br />Inventory<br />Get-* cmdlets<br />Events<br />Get-VIEvent<br />Performance<br />Get-Stat<br />http://vmware.com/go/powercli<br />
  13. 13. Some Interesting Stats<br />
  14. 14. Storage Management<br />*-Datastore<br />*-ScsiLun<br />*-ScsiLunPath<br />Storage VMotion<br />http://vmware.com/go/powercli<br />
  15. 15. Demo<br />Storage Management (Contains future features)<br />http://vmware.com/go/powercli<br />
  16. 16. Storage: Conclusion<br />PowerCLI makes it easy to:<br />Provision storage.<br />Report on storage.<br />Diagnose storage problems.<br />http://vmware.com/go/powercli<br />
  17. 17. VM Provisioning<br />New-VM<br />Get-Template<br />Get-OSCustomizationSpec<br />Set-VM<br />http://vmware.com/go/powercli<br />
  18. 18. Demo<br />VM Provisioning and Lifecycle (Contains future features)<br />http://vmware.com/go/powercli<br />
  19. 19. Provisioning: Conclusion<br />PowerCLI makes provisioning large numbers of assets very easy.<br />http://vmware.com/go/powercli<br />
  20. 20. Coming Soon<br />Configure virtual switch teaming, failover, etc.<br />Thin provisioning.<br />Convert existing or provision new.<br />Guest management.<br />Copy files in and out.<br />Roles and Permissions.<br />Duplicate between vCenter instances.<br />http://vmware.com/go/powercli<br />
  21. 21. Conclusion<br />PowerCLI is extremely powerful and useful.<br />It’s getting better all the time.<br />It’s free and easy to install.<br />This is a must-know tool for any vSphere admin.<br />http://vmware.com/go/powercli<br />
  22. 22. Learn More.<br />Download at http://vmware.com/go/powercli<br />Join our community.<br />Subscribe to the PowerCLI blog.<br />http://blogs.vmware.com/vipowershell<br />Extensions at http://codeplex.com/vitoolkitextensions<br />http://vmware.com/go/powercli<br />
  23. 23. http://vmware.com/go/powercli<br />
  24. 24. Questions?<br />Download today: http://vmware.com/go/powercli<br />http://vmware.com/go/powercli<br />

×