All posts tagged in: PowerCLI

Install Powershell and PowerCLI on Ubuntu 16.04

Author image Simon Guyennet on Cloud, Automation, vSphere, VMware, Powershell, PowerCLI

VMware PowerCLI is a very handy command line interface to automate VMware vSphere environment. VMware PowerCLI leverages the Microsoft Powershell scripting language. Prerequisite An Ubuntu 16.04 machine with a network access to the VMware vCenter API. Installation of Microsoft Powershell 1- Import the Microsoft repository GPG Key. $ curl https://packages.microsoft.com/keys/microsoft.asc | \ sudo apt-key add - 2- Add the Microsoft repository to the list of APT sources. $ curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | \ sudo tee /etc/apt/sources.list.d/microsoft.list 3- Update the APT repositories. $ sudo apt-get update 4-...