Non classé

Powershell and PowerCLI on my Raspberry Pi

First of all, i’m a G33K. This kind of geek who will buy stuff without knowing what he’ll do with it.

I saw few days ago that Raspberry Pi 3 had really nice performance.

Windows is more and more open too the open source world.
VMware realesed few days ago a new version of PowerCLI : 10.0.0.

You shake all this informations and you have it : “well, it may be pretty handsome to have PowerCLI on my Raspberry PI”.

Install powershell :

# Install prerequisites
sudo apt-get install libunwind8
# Download the PowerShell 6.0.1 tar.gz
wget https://github.com/PowerShell/PowerShell/releases/download/v6.0.1/powershell-6.0.1-linux-arm32.tar.gz
# Make a folder for powershell
mkdir ~/powershell
# Unpack the tar.gz file into the folder
tar -xvf ./powershell-6.0.1-linux-arm32.tar.gz -C ~/powershell
# Start PowerShell 

# Optionnal : create an alias :
alias powershell='~/powershell/pwsh'

I would like to thank’s Chris Porter who help me with his article to find an solution my issue. I was not able to start powerCli.
Indeed, PowerCLI does NOT work with PowerShell 6.0.0.

#Install PowerCLI :
Install-Module -Name VMware.PowerCLI -Scope CurrentUser

And now connect to your vCenter :

Now, i have a nice RaspberryPi which become a nice admin computer, I already have some cool idea to add to this little PI.

Stay Tuned 😀


Leave a Reply

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