PowerCLI: Oneliners: Difference between revisions

From VI-Toolkit
Jump to navigation Jump to search
No edit summary
m Oneliners have been split up leave these links here for easy reference
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
==== PowerCLI Oneliners ====
[http://www.peetersonline.nl/index.php/about/ 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 [http://www.peetersonline.nl/index.php/about/ Hugo Peeters], [http://www.virtu-al.net Alan Renouf], [http://get-admin.com get-admin.com] and [http://ict-freak.nl Arne Fokkema]


==== VM Configuration ====
* [[PowerCLI Oneliners: Statistics]]
 
* [[PowerCLI Oneliners: Events]]
* [http://www.peetersonline.nl/index.php/vmware/oneliner-of-the-day/ Copy Active Directory Description to your VM]
* [[PowerCLI Oneliners: Host Configuration]]
 
* [[PowerCLI Oneliners: VM Configuration]]
* [http://www.virtu-al.net/2009/07/07/powercli-more-one-liner-power/ Reset CPU and Memory limits to “Unlimited” for all VMs in vCenter]
* [[PowerCLI Oneliners: Storage]]
 
* [http://www.virtu-al.net/2009/07/07/powercli-more-one-liner-power/ Get name of the VM and the network adapter for supplied Mac address]
 
* [http://ict-freak.nl/2009/07/10/powercli-two-vhardware-one-liners/ Get names of VM's not yet upgraded to vSphere]
 
* [http://ict-freak.nl/2009/07/10/powercli-two-vhardware-one-liners/ Get names of VM's not yet upgraded to vSphere and VM Tools not upgraded]
 
* [http://ict-freak.nl/2009/08/14/powercli-add-notes-to-multiple-vms/ Add notes to multiple VM's using CSV]
 
* [http://ict-freak.nl/2009/08/17/powercli-set-custom-fields/ Set description of custom fields for multiple VM's from CSV]
 
==== Storage ====
* [http://www.virtu-al.net/2009/07/14/powercli-local-stored-vms-one-liner/ List all VMDK files for VM's stored on local storage]
 
* [http://www.peetersonline.nl/index.php/vmware/powershell-oneliner-6/ Check the Usage of your datastore]


[[Category: PowerCLI]]
[[Category: PowerCLI]]

Latest revision as of 21:22, 19 August 2009

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