PowerCLI: Oneliners: Difference between revisions

From VI-Toolkit
Jump to navigation Jump to search
mNo edit summary
Split up configuration paragraph into Host Config and VM Config, Added automated notes/description oneliners for VMs from Arne Fokkema
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 from other great powershell scripters.
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 from other great powershell scripters. This page now contains 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]
 


==== Statistics ====
==== Statistics ====
Line 33: Line 32:
* [http://get-admin.com/blog/?p=725 Inform when running task completes]
* [http://get-admin.com/blog/?p=725 Inform when running task completes]


==== Configuration ====
==== Host Configuration ====
* [http://www.peetersonline.nl/index.php/vmware/oneliner-service-console-ip-with-powercli/ Oneliner: Service Console IP with PowerCLI]
* [http://www.peetersonline.nl/index.php/vmware/oneliner-service-console-ip-with-powercli/ Oneliner: Service Console IP with PowerCLI]


Line 39: Line 38:


* [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/powershell/oneliner-get-logged-on-users-with-powershell/ Oneliner: Get Logged on Users with Powershell]
* [http://www.virtu-al.net/2009/07/08/powercli-host-hardware-one-liner/ Display Host Hardware information]
* [http://ict-freak.nl/2009/07/13/powercli-get-running-vms-per-vmhost-and-more/ Cluster name, ESX host and the total running VM’s on the host]
* [http://ict-freak.nl/2009/07/13/powercli-get-running-vms-per-vmhost-and-more/ Hostname with the least running VM’s on it]
* [http://www.virtu-al.net/2009/08/16/powercli-processor-types/ Check Host processor types]
==== VM Configuration ====


* [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-of-the-day/ Copy Active Directory Description to your VM]
* [http://www.virtu-al.net/2009/07/08/powercli-host-hardware-one-liner/ Display Host Hardware information]


* [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]
* [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]
Line 52: Line 59:
* [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/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/07/13/powercli-get-running-vms-per-vmhost-and-more/ Cluster name, ESX host and the total running VM’s on the host]
* [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/07/13/powercli-get-running-vms-per-vmhost-and-more/ Hostname with the least running VM’s on it]


* [http://www.virtu-al.net/2009/08/16/powercli-processor-types/ Check Host processor types]
* [http://ict-freak.nl/2009/08/17/powercli-set-custom-fields/ Set description of custom fields for multiple VM's from CSV]


==== Storage ====
==== Storage ====

Revision as of 13:21, 17 August 2009

This page could be dedicated to 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 from other great powershell scripters. This page now contains oneliners from Hugo Peeters, Alan Renouf, get-admin.com and Arne Fokkema

Statistics


Events

Host Configuration

VM Configuration

Storage