MacOS Vmware PowerCLI installation

It install MacOS Vmware PowerCLI we first need to install Powershell with brew.

$ brew cask install powershell

To run Powershell

$ pwsh

If you need to upgrade powershell you can use the commands below

$ brew update
$ brew cask upgrade powershell

Lastly install MacOS Vmware PowerCLI

PS /> Install-Module -Name VMware.PowerCLI -Scope CurrentUser

Lastly try connecting to your vCenter

PS /> Connect-VIServer -Server vcenter.example.com

MacOS Vmware PowerCLI

Now you have your MacOS Vmware PowerCLI 🙂