getting started with powercli and vmware n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Getting Started with PowerCLI and VMware PowerPoint Presentation
Download Presentation
Getting Started with PowerCLI and VMware

Loading in 2 Seconds...

play fullscreen
1 / 15

Getting Started with PowerCLI and VMware - PowerPoint PPT Presentation


  • 116 Views
  • Uploaded on

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!

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Getting Started with PowerCLI and VMware' - naeva


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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
getting started with powercli and vmware

Getting Started with PowerCLI and VMware

Jeffery Hicks

Consultant ~ Trainer ~ Author

Level: Introductory

agenda
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.

slides and demos
Slides and Demos
  • Updated slides, notes, and demos will be published to http://jdhitsolutions.com/blog
powercli requirements
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
powercli setup
PowerCLI Setup
  • Install PowerShell
  • Download 32 or 64 bit
  • Run Install
  • Use the Vmware menu
  • Or load the PSSnapin manually
exploring the powercli pssnapin
Exploring the PowerCLIPSSnapin
  • VMware.VimAutomation.Core
  • Get-Command –module VMware.VimAutomation.Core
  • about_PowerCLI_objects
  • about_vimdatastore
  • New PSDrives
powercli concepts
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
working with vmware hosts
Working with VMware Hosts
  • Connect-VIServer
  • Get-VMHost
  • Host Networking
    • Get-VMHostNetwork
    • Get-VMHostNetworkAdapter
    • New-VMHostNetworkAdapter
    • Remove-VMHostNetworkAdapter
    • Set-VMHostNetwork
    • Set-VMHostNetworkAdapter
managing virtual machines
Managing Virtual Machines
  • *-VM cmdlets
  • Using VM Templates (*-Template)
  • ResourcePools (*-ResourcePool)
  • Networking configuration
    • Get-VMGuestNetworkInterface
    • Set-VMGuestNetworkInterface
managing vm guests
Managing VM Guests
  • *-VMGuest* cmdlets
  • Stop/Shutdown/Restart
  • Manage Vmware Tools (*-Tools)
creating management reports
Creating Management Reports
  • VM Inventory
  • Performance and Statistics
  • Leverage PowerShell (CSV, XML, HTML,File)
resources
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/
thank you
Thank You!
  • http://jdhitsolutions.com/blog
  • http://twitter.com/jeffhicks
  • jhicks@jdhitsolutions.com