How to Install Windows PowerShell on kali linux

1 minute read

How to Install Windows PowerShell on kali linux

What is PowerShell

Powershell is AN ASCII text file code and is out there for the UNIX system and waterproof. The method of putting in the PowerShell Package on "Windows and Linux" is completely different. You'll be able to transfer the PowerShell Script from my GitHub Page. After that, you'll be able to run PowerShell Commands from Kali Linux’s Terminal.

Windows PowerShell Package Installation on Kali UNIX system

Let's begin we have a tendency to area unit victimization Kali UNIX system 2020. currently, we've to put in PowerShell on the Kali UNIX system. For that, I actually have created a script on the GitHub page. You'll be able to transfer this script.

Download PowerShell.sh script

How to install Windows Powershell on a kali UNIX system

Now we've to open our Terminal. Finally, we have a tendency to proceed to put in the PowerShell Package.

Follow the Bellow Commands.

chmod 755 powershell.sh
bash powershell.sh

How to install Windows Powershell on a kali UNIX system

When the PowerShell Package installation completes, a running push can embark PowerShell.

Follow the Bellow Commands.

push

How to install Windows Powershell on a kali UNIX system

If you wish to put in through the PowerShell Commands.


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

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

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

apt -y install Powershell