PowerShell: Difference between revisions

From VI-Toolkit
Jump to navigation Jump to search
(added link to Parsing powershell scripts)
(added link to PowerCLI blog on how-to run scripts from vCenter alarms)
Line 33: Line 33:




==== Scripts on other locations ====
==== PowerCLI scripts (not categorized) ====


* [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 56: Line 56:


* [[PowerCLI: Oneliners]]
* [[PowerCLI: Oneliners]]
* [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 =====



Revision as of 14:01, 25 September 2009

If you are not running windows 2008/Windows 7 and don't have PowerShell (Posh) installed then go get it from Microsoft's PowerShell landing page It is nowadays also offered via Windows Update as an optional update. Then in order to manage your virtual infrastructure you will need the VI Toolkit for windows.



Learning VI-Toolkit Powershell


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 (not categorized)

VM Configuration
Host Management

General powershell

Powershell tools