PowerShell Core – Installation on Windows 10 – Ubuntu WSL

Here you can find the correct installation instructions for Ubuntu 16 (and many more like Raspbian, …)


1. Open Bash on Windows 10


2. Install PowerShell Core

These are the commands needed to get it installed.

# Import the public repository GPG keys
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -

# Register the Microsoft Ubuntu repository
sudo curl -o /etc/apt/sources.list.d/microsoft.list https://packages.microsoft.com/config/ubuntu/16.04/prod.list

# Update the list of products
sudo apt-get update

# Install PowerShell
sudo apt-get install -y powershell

# Start PowerShell

3. Installation process

It looks like this on Windows 10 – Bash


4. Test PowerShell


5. Let’s connect to O365 – Exchange Online




Other Commands

Make sense work fine … Get-Service doesn’t work because it is a Windows Command Winking smile


All seems OK Smile

Enjoy !


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: