PowerCLI: Difference between revisions

From VI-Toolkit
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 12: Line 12:
* [[Virtu-Al: Lesson 4 Portgroups]]
* [[Virtu-Al: Lesson 4 Portgroups]]


 
* [https://www.vmware.com/support/developer/PowerCLI/PowerCLI55R2/html/index.html VMware's PowerCLI 5.5 R2 online cmdlet reference]
* <s>[[Powershell CMDLET list]] (thank you Alan Renouf for the idea and initial work)</s> 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.


* [http://communities.vmware.com/docs/DOC-4210 Managing VMware with PowerShell -- Frequently Asked Questions]
* [http://communities.vmware.com/docs/DOC-4210 Managing VMware with PowerShell -- Frequently Asked Questions]
Line 124: Line 123:
* [[PowerCLI: Daily Report]]
* [[PowerCLI: Daily Report]]


* [[PowerCLI: Get number of vCPU's used in cluster]]
* [[PowerCLI: Get number of vCPU%27s used in cluster]]


* [[PowerCLI: Factory reset of ESXi]]
* [[PowerCLI: Factory reset of ESXi]]
Line 131: Line 130:


* [[PowerCLI: Get VMHost Support Bundles]]
* [[PowerCLI: Get VMHost Support Bundles]]
* [[PowerCLI: Update host from ESXi 5.1 to 5.1 update 1]]
* [[PowerCLI: VM stats and Google Charts]]
* [[PowerCLI: ESXi 5.0 / ESXi 5.1 Host Backup & Restore GUI Utility]]
===== Integration with ESXi shell =====


* [[PowerCLI: Using plink to modify ESXi host configuration files via SSH]]
* [[PowerCLI: Using plink to modify ESXi host configuration files via SSH]]
Line 136: Line 143:
* [[PowerCLI: enable SSH and configure ESXi Firewall]]
* [[PowerCLI: enable SSH and configure ESXi Firewall]]


* [[PowerCLI: Update host from ESXi 5.1 to 5.1 update 1]]
* [[PowerCLI: Update ESXi Root Password with Password Generator]]
 
* [[PowerCLI: VM stats and Google Charts]]


* [[PowerCLI: Update ESXi Root Password with Password Generator]]
* [[PowerCLI: enable SSH GUI for vSphere clusters]]


==== Storage ====
==== Storage ====
Line 153: Line 158:


* [[PowerCLI: Set the Path Selection Policy for every device path of every host in your vSphere 5.0/5.1 cluster]]
* [[PowerCLI: Set the Path Selection Policy for every device path of every host in your vSphere 5.0/5.1 cluster]]
* [https://labs.vmware.com/flings/powercli-cmdlet-for-nfs PowerCLI cmdlet for NFS]


==== Networking ====
==== Networking ====

Latest revision as of 21:10, 29 November 2015

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

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

Integration with ESXi shell

Storage

Networking

dvSwitch

vCloud

libraries