To do this you will need to install Windows Management Framework (WMF) 5.1.In this example, I am running PSVersion 4.0: Type $psversiontable – this will tell you what version you are running.You can also right click on any start menu or desktop shortcuts you may already have for Powershell. This can be done by navigating to (C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe) or search for Powershell on the start menu, right click on the powershell.exe application and choose Run As Administrator. Always use ‘ Run as Administrator’ privileges.Check which version of Powershell is being used, and if applicable update it to the latest release (version 5 at time of writing).The user accounts have administrator rights in Windows & VMware. This step by step procedure is to prepare your system to run VMware PowerCLI Version 10 (released February 2018), configure shortcuts to your infrastructure and make the first connection to your vCenter server(s).įor this demonstration we are using Windows Server 2012 R2 (64 bit) to connect to a VMware ESXi 6.5 vCenter server. However, it is highly recommended to install the very lastest official releases of Powershell and PowerCLI modules. A desktop or server must have network access to the VMware vCenter server(s) and be capable of running a minimum of Windows PowerShell 2.0 with.
It is typically installed on Microsoft Windows based operating systems.
PowerCLI is a great tool for system administrators and can be used to gather detailed information and/or execute bulk commands against multiple VMs, Hosts, Network or Storage devices. VMware PowerCLI is a collection of Windows Powershell modules which are used to manage and maintain a VMware virtual environment.