PowerCLI: Difference between revisions
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
* [[Powershell CMDLET list]] (thank you Alan Renouf for the idea and initial work) | * <s>[[Powershell CMDLET list]] (thank you Alan Renouf for the idea and initial work)</s> Doesn't contain much atm. | ||
* [http://communities.vmware.com/docs/DOC-4210 Managing VMware with PowerShell -- Frequently Asked Questions] | * [http://communities.vmware.com/docs/DOC-4210 Managing VMware with PowerShell -- Frequently Asked Questions] | ||
* [http://communities.vmware.com/message/1381785 PowerCLI Poster with all the available cmdlets] | * [http://communities.vmware.com/message/1381785 PowerCLI Poster with all the available cmdlets] | ||
* [http://blogs.vmware.com/vipowershell/2012/09/powercli-5-1-poster.html PowerCLI 5.1 Poster] | |||
* [http://communities.vmware.com/docs/DOC-12014 Workshop and demo scripts by Carter Shanklin] | * [http://communities.vmware.com/docs/DOC-12014 Workshop and demo scripts by Carter Shanklin] | ||
Line 24: | Line 25: | ||
* [http://read.virtualizeplanet.com/?p=138 VirtualizePlanet PowerCLI lessons by Ricky El-Qasem] | * [http://read.virtualizeplanet.com/?p=138 VirtualizePlanet PowerCLI lessons by Ricky El-Qasem] | ||
* [http://www.petri.co.il/vmware-vsphere-powercli-getting-started.htm Getting Started with vSphere PowerCLI (Petri.co.il)] | |||
===== PowerCLI videos ===== | ===== PowerCLI videos ===== | ||
Revision as of 09:01, 20 September 2013
PowerCLI is the "new' name for what used to be called the Virtual Infrastructure Toolkit, or VI Toolkit in short. In order to manage your virtual infrastructure on windows using scripts you will most likely want to use the VI Toolkit for windows and PowerShell
Learning VI-Toolkit Powershell
Powershell CMDLET list (thank you Alan Renouf for the idea and initial work)Doesn't contain much atm.
PowerCLI videos
- Patching ESX with PowerCLI 4.0 U1
- Invoke-VM with PowerCLI 4.0 U1
- #vBrownBag Follow-Up – PowerCLI 201 w/ Jake Robinson
PowerCLI Oneliners
Hugo Peeters started with posting so called oneliners to indicate how powerful the VI-Toolkit on Powershell is. After a while this got picked up by others as sort of a sport to see if you can do it in one line. Below is a collection of links with oneliners from great powershell scripters. These pages now contains links to oneliners from Hugo Peeters, Alan Renouf, get-admin.com and Arne Fokkema
- PowerCLI Oneliners: Statistics
- PowerCLI Oneliners: Events
- PowerCLI Oneliners: Host Configuration
- PowerCLI Oneliners: VM Configuration
- PowerCLI Oneliners: Storage
- ESX PowerCLI One-Liners (vWiki)
PowerCLI scripts
not categorized
- Add/Remove active directory user accounts who belong to a particular security group on all ESX hosts
VM Configuration
Host Management
Storage
Networking
dvSwitch
- PowerCLI: dvPortgroup ports report
- PowerCLI: Disable Netflow for a VDPortgroup or a number of VDPortGroups