|
|
(16 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| This page could be dedicated to [http://www.peetersonline.nl/index.php/about/ Hugo Peeters] as he's been supplying the community with very useful powershell oneliners for a while. But he's not the only supplier anymore as more links are getting added.
| | ==== 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] |
|
| |
|
| | | * [[PowerCLI Oneliners: Statistics]] |
| * [http://www.peetersonline.nl/index.php/vmware/oneliner-service-console-ip-with-powercli/ Oneliner: Service Console IP with PowerCLI] | | * [[PowerCLI Oneliners: Events]] |
| | | * [[PowerCLI Oneliners: Host Configuration]] |
| * [http://www.peetersonline.nl/index.php/vmware/checking-vmware-ntp-configuration-with-powershell/ Checking VMware NTP configuration with Powershell]
| | * [[PowerCLI Oneliners: VM Configuration]] |
| | | * [[PowerCLI Oneliners: Storage]] |
| * [http://www.peetersonline.nl/index.php/powershell/oneliner-get-logged-on-users-with-powershell/ Oneliner: Get Logged on Users with Powershell]
| |
| | |
| * [http://www.peetersonline.nl/index.php/vmware/vmware-stats-oneliner/ Statistics: Average CPU and memory usage] | |
| | |
| * [http://www.peetersonline.nl/index.php/vmware/oneliner-of-the-day/ Copy Active Directory Description to your VM]
| |
| | |
| * [http://www.peetersonline.nl/index.php/vmware/oneliner-for-the-road/ Memory Usage statistics sorted per VM]
| |
| | |
| * [http://www.peetersonline.nl/index.php/vmware/posting-pause-plus-bonus-one-liner/ Statistics: Top 20 VM with least free disk space] | |
| | |
| * [http://www.peetersonline.nl/index.php/vmware/quick-vi-toolkit-one-liners/ Get all events per VM]
| |
| | |
| * [http://www.peetersonline.nl/index.php/vmware/quick-vi-toolkit-one-liners/ Get all errors from the past 24 hours]
| |
| | |
| * [http://www.peetersonline.nl/index.php/vmware/quick-vi-toolkit-one-liners/ Get all errors related to a cluster] | |
| | |
| * [http://www.peetersonline.nl/index.php/vmware/quick-vi-toolkit-one-liners/ Get all events related to DRS]
| |
| | |
| * [http://www.peetersonline.nl/index.php/vmware/powershell-oneliner-6/ Check the Usage of your datastore]
| |
| | |
| * [http://www.peetersonline.nl/index.php/vmware/powershell-oneliner-4/ Get a list of vm's and the number of snapshots per vm] | |
| | |
| * [http://www.peetersonline.nl/index.php/powershell/powershell-oneliner-2/ Statistics: Hosts whose CPU reached red Load level]
| |
| | |
| * [http://www.virtu-al.net/2009/06/25/powercli-more-one-liners/ Number of VMs per Resource Pool]
| |
| | |
| * [http://www.virtu-al.net/2009/06/17/one-liner-how-many-vms/ How many VMs per Host]
| |
|
| |
|
| [[Category: PowerCLI]] | | [[Category: PowerCLI]] |
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