1 / 15

Getting Started with PowerCLI and VMware

Getting Started with PowerCLI and VMware. Jeffery Hicks Consultant ~ Trainer ~ Author. Level: Introductory. Agenda. PowerCLI Requirements and Setup Working with Host servers Managing Virtual Machines Creating Management Reports Demo! Demo! Demo!

naeva
Download Presentation

Getting Started with PowerCLI and VMware

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Getting Started with PowerCLI and VMware Jeffery Hicks Consultant ~ Trainer ~ Author Level: Introductory

  2. Agenda • PowerCLI Requirements and Setup • Working with Host servers • Managing Virtual Machines • Creating Management Reports • Demo! Demo! Demo! Our focus is on leveraging automation using Windows PowerShell for common tasks.

  3. Slides and Demos • Updated slides, notes, and demos will be published to http://jdhitsolutions.com/blog

  4. PowerCLI Requirements • Windows PowerShell (I recommend 2.0) • .NET Framework 2.0 or later • Windows XP SP2 and later • Vmware Infrastructure • VMware ESXi Server 3.0 or later • VMware VirtualCenter 2.5 • VMware ESX 3.0 and VirtualCenter 2.0 • VMware ESX 4.0 and vCenter 4.0 • VMware ESX 4.0 Update 1 and vCenter 4.0 Update 1

  5. PowerCLI Setup • Install PowerShell • Download 32 or 64 bit • Run Install • Use the Vmware menu • Or load the PSSnapin manually

  6. Exploring the PowerCLIPSSnapin • VMware.VimAutomation.Core • Get-Command –module VMware.VimAutomation.Core • about_PowerCLI_objects • about_vimdatastore • New PSDrives

  7. PowerCLI Concepts • RunAsync to create VM tasks asynchronously • PowerCLIConfiguration • Single or multiple default servers • Connect via proxy • Authentication • User and Password • PSCredential • SSPI (Security Support Provider Interface) • Prompt

  8. Working with VMware Hosts • Connect-VIServer • Get-VMHost • Host Networking • Get-VMHostNetwork • Get-VMHostNetworkAdapter • New-VMHostNetworkAdapter • Remove-VMHostNetworkAdapter • Set-VMHostNetwork • Set-VMHostNetworkAdapter

  9. Managing Virtual Machines • *-VM cmdlets • Using VM Templates (*-Template) • ResourcePools (*-ResourcePool) • Networking configuration • Get-VMGuestNetworkInterface • Set-VMGuestNetworkInterface

  10. Managing VM Guests • *-VMGuest* cmdlets • Stop/Shutdown/Restart • Manage Vmware Tools (*-Tools)

  11. Creating Management Reports • VM Inventory • Performance and Statistics • Leverage PowerShell (CSV, XML, HTML,File)

  12. Demos

  13. Questions & Answers

  14. Resources • Windows PowerShell 2.0: TFM by Don Jones & Jeffery Hicks • Managing VMware Infrastructure with Windows PowerShell: TFM by Hal Rottenberg • http://www.virtu-al.net • http://www.vmware.com/go/powercli • http://blogs.vmware.com/vipowershell/ • http://communities.vmware.com/community/vmtn/vsphere/automationtools/windows_toolkit?view=discussions/

  15. Thank You! • http://jdhitsolutions.com/blog • http://twitter.com/jeffhicks • jhicks@jdhitsolutions.com

More Related