Monday 24 April 2017

Installing PowerShell & PowerCLI in MAC OS

Mac Install 

Install These are the detailed instructions. 

Step 1 - Download PowerShell for MAC and need to check whether it allows you to install if gives you an error related to the unidentified application. To resolve this, click the Apple symbol in the menu bar and open System Preferences > Security & Privacy and then click Open Anyway.
Installed will be there and install.

Step 2 - Make sure you did not miss this step from the PowerShell installation instruction:

brew install openssl brew install curl --with-openssl 

Step 3 - Create the following directory if it does not exists by running the following command: 

mkdir -p ~/.local/share/powershell/Modules 

Step 4 - Extract the PowerCLI modules into the directory you created above by running the following command: 

unzip PowerCLI.ViCore.zip -d ~/.local/share/powershell/Modules 
unzip PowerCLI.Cis.zip -d ~/.local/share/powershell/Modules 
unzip PowerCLI.Vds.zip -d ~/.local/share/powershell/Modules



No comments:

Post a Comment