PowerCLI: Difference between revisions

From VI-Toolkit
Jump to navigation Jump to search
Line 46: Line 46:


==== PowerCLI scripts  ====
==== PowerCLI scripts  ====
===== integration =====
* [[Introduction to scripting vi using perl or powershell]]
* [[Manage VMware Server with PowerShell]]
* [[Introduction to the vSphere SDK in Java and C#]]
* [http://blogs.vmware.com/vipowershell/2009/09/how-to-run-powercli-scripts-from-vcenter-alarms.html How to run PowerCLI scripts from vCenter alarms]
* [[PowerCLI: WebPowerCLI, run scripts from your browser]]
===== not categorized =====
===== not categorized =====


Line 58: Line 71:
* [[Out-Dataset Cmdlet]]
* [[Out-Dataset Cmdlet]]


* [[Introduction to scripting vi using perl or powershell]]
* [[Manage VMware Server with PowerShell]]
* [[Introduction to the vSphere SDK in Java and C#]]
* [http://blogs.vmware.com/vipowershell/2009/09/how-to-run-powercli-scripts-from-vcenter-alarms.html How to run PowerCLI scripts from vCenter alarms]


===== VM Configuration =====
==== VM Configuration ====


* [http://virtualfuture.info/2008/07/powershell-remove-connected-iso/ Remove connected iso's]
* [http://virtualfuture.info/2008/07/powershell-remove-connected-iso/ Remove connected iso's]
Line 104: Line 110:
* [[PowerCLI: Create multiple VMs]]
* [[PowerCLI: Create multiple VMs]]


===== Host Management =====
==== Host Management ====


* [[PowerCLI: Report every VM added to vCenter in the last 30 days]]
* [[PowerCLI: Report every VM added to vCenter in the last 30 days]]

Revision as of 10:10, 7 April 2014

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, still a great idea, but crossed out as you as reader probably should not spend time on clicking through it.
PowerCLI videos

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 scripts

integration
not categorized


VM Configuration

Host Management

Storage

Networking

dvSwitch

vCloud

libraries