How to Install Windows PowerShell on kali linux

Windows Powershell

Table of Content

  • What is PowerShell
  • How to install Powershell on Kali Linux

What is PowerShell

PowerShell is an Open-Source software that is available for Linux and Windows. The process of installing the PowerShell Package on both operating systems could be a few different. After doing hard work, we have just served a PowerShell script that exists on my GitHub page. If you don’t mind, you should download the PowerShell script from the GitHub page.


The YouTube team has been removed our amazing videos from Pentesting Channel. We have just promised to give the removed video. If you want to download these videos, then you should visit this site.


Windows PowerShell Package Installation on Kali Linux

As you know, we have mentioned above that the process of installing PowerShell on Kali Linux could be a little different. It depends on you which operating system you would use for PowerShell installation. In my case, we will use Kali Linux 2021. But I would like to suggest you more time use Kali Linux that is much better than other operating systems. There are a bunch of tools installed in Kali Linux. At this time, we will install PowerShell on Kali Linux. For that, I have caused a script on the GitHub page. First, I would like to suggest you download this script from the GitHub page.


Download Powershell.sh Script

powershell script

I hope that by now, you have downloaded the PowerShell script from the GitHub page. According to the image, PowerShell already exists at the terminal. Let’s install it. For that, we will use the bash command, which is pre-installed in Kali Linux. To get more information, follow the below command.

chmod 755 powershell.sh
bash powershell.sh

bash powershell.sh

When the PowerShell Package installation completes, running pwsh will start up PowerShell. Follow the Bellow Commands.


pwsh

pwsh

If you want to install through 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

Rating: 5 out of 5.

Install Windows Powershell on Kali Linux


I have made a video for this. If you don’t understand, First of all, You watch this video. I’ll expect it. You got everything.

Powershell On Kali Linux

Latest Posts


Rating: 1 out of 5.

Rating: 4 out of 5.

3 Comments

Add a Comment

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