Install MicroSoft PowerShell on Kali Linux 2020


Installing PowerShell on Kali Linux

Microsoft PowerShell is now open source, and available for Linux and Mac now you can download and install on Kali Linux easily after that you can run PowerShell commands form Kali Linux’s Terminal.

PowerShell Package Installation on Kali Linux

You’ll now need to install the necessary package’s dependencies and the package, most of which should already be installed in Kali Linux.

Don't Miss: How to Create own Virtual Hacking Lab in VMWare 2020

apt update && apt -y install curl gnupg apt-transport-https 

Download and add the public repository GPG key so APT will trust the packages and alert you to any issues with package signatures.

curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -

Next, add the Microsoft package repository to its own package list file under /etc/apt/sources.list.d/ and update the list of available packages.

echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-debian-stretch-prod stretch main" > /etc/apt/sources.list.d/powershell.list

Next update your Kali Linux.

Don't Miss: How to Send Anonymous SMS to any Number

apt update

Now you can install PowerShell package on Kali Linux.

apt -y install powershell

PowerShell package installed successfully now you can run it


Now you can run powershell commands form Linux terminal

Post a Comment