Free Webinar
September 5 | 11am PT / 2pm ET
Automate your daily and time-taking
Hyper-V administration with PowerShell!
Speaker: Ivan Ischenko, Solutions Engineer, StarWind
Posted by Mike Preston on October 4, 2017
Accessing esxcli through PowerCLI

Picture this – you are working away developing a PowerCLI script that is performing multiple actions – you have it just about complete when you come to a roadblock.  After frantically googling around you find out that this one task you are trying to perform simply cannot be done through PowerShell, yet you know it exists within the local ESXi esxcli command namespace!  This has happened multiple times to me and thankfully, there is a way to access ESXi’s esxcli command namespace without having to leave the comforts of the PowerShell Console. Chances are that if you have been working at all with ESXi you are familiar with the esxcli command – but for those that aren’t let’s take a quick look at what exactly it does.

Learn More