June 2009 PowerCLI Webinar
-
Upload
carter-shanklin -
Category
Business
-
view
105 -
download
2
description
Transcript of June 2009 PowerCLI Webinar
vSphere PowerCLIThe best tool for automating vSphere
http://vmware.com/go/powercli
Agenda For Today A brief intro to PowerCLI. Performance monitoring. Analyzing logs. Advanced configuration. Reporting. Dealing with ESXi.
http://vmware.com/go/powercli
What is PowerCLI? PowerCLI is an automation tool. Designed with the admin in mind.
You don’t need to spend weeks learning the API.
Based on Windows PowerShell.Provides a modern and powerful scripting
framework.
http://vmware.com/go/powercli
PowerCLI Goals. Power:
Automate any vSphere action. Simplicity:
Any vSphere admin can read PowerCLI code and immediately understand what it does.
http://vmware.com/go/powercli
Why we automate. “Those who cannot automate are
condemned to repeat themselves.”-- Some Internet person.
Simple things:Automate if you plan to do it 10+ times.
Hard things:Automate if you plan to do it 50+ times.
http://vmware.com/go/powercli
People use PowerCLI to… Synchronize guest and host time. Upgrade VMware Tools without
rebooting. Tune HBA storage paths. More than 300 examples on our
community.http://vmware.com/go/powercli
http://vmware.com/go/powercli
DemoA 5 Minute Tour of PowerCLI.
http://vmware.com/go/powercli
Key Performance Cmdlets Get-StatType Get-StatInterval Get-Stat
http://vmware.com/go/powercli
DemoAnalyzing Performance.
http://vmware.com/go/powercli
Key Logging Cmdlets Get-LogType
Tells you what types of logs are available.vCenter and ESX have different types.
Get-LogReturns lines from log files.-Bundle: Gets all server logs and
diagnostics. VI Toolkit Extensions
Log archival.http://vmware.com/go/powercli
DemoDealing With Logs.
http://vmware.com/go/powercli
Advanced Configuration. Key cmdlets:
Get-VMHostAdvancedConfigurationSet-VMHostAdvancedConfigurationGet-VMHostModuleSet-VMHostModule
http://vmware.com/go/powercli
DemoAdvanced Configuration.
http://vmware.com/go/powercli
Reporting in style with VESI. VESI is a PowerShell-based automation
tool for VM administrators. VESI also has some great reporting
facilities. Find it at http://www.thevesi.org/
http://vmware.com/go/powercli
DemoReporting With Virtualization EcoShell.
http://vmware.com/go/powercli
Dealing With ESXi New in PowerCLI 4.0: Host Profiles
cmdlets.Export-VMHostProfileApply-VMHostProfileWatch the video:
http://vimeo.com/4410391 ESXi configuration scripts in the
community:http://tr.im/nfpb
http://vmware.com/go/powercli
Learn More. Download at
http://vmware.com/go/powercli Join our community. Subscribe to the PowerCLI blog.
http://blogs.vmware.com/vipowershell Extensions at
http://codeplex.com/vitoolkitextensionshttp://vmware.com/go/powercli
Questions?
http://vmware.com/go/powercli