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.
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.
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, watch following video for step by step installation and run powershell commands.
Thank you for visit us.
Accredited Partner: CODELANCER INCORPORATION