PowerCLI Core on Mac OS Sierra setup guide

Share This:

“PowerCLI Core uses Microsoft PowerShell Core and .Net Core to enable users of Linux, Mac and Docker to now use the same cmdlets which were previously only available on windows.”

This will allow you to use PowerCLI and connect to vCenter Server / Hosts directly from your Mac Terminal!

1.Download the fling from:

https://labs.vmware.com/flings/powercli-core#summary

2.Download and Install Homebew

“Homebrew installs the stuff you need that Apple didn’t” – is a free and open-source software package management system that simplifies the installation of software on Apple’s macOS operating system – Amazing tool!

Open Terminal and run:

Output:

3. Install OpenSSL and Curl (using homebrew!)

Output:

4. Install wget (using homebrew!)

Output:

5. Donwload Powershell for MAC

Output:

6.Install Powershell (via GUI or terminal)

7.Create modules directory

8.Unzip flig contents to modules directory

9.Run powershell!

10. Import modules

11. Ignore the certs

12. Connect to vC:

Enjoy!

Leave a comment

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.