PowerShell Core unter Kali Linux installieren
Kali ist eine spezielle Linux Distribution für Penetration Tester und Ethical Hacker. Mit der Core Variante kann PowerShell auch auf Linux installiert und genutzt werden. Hier eine Anleitung zur Installation unter Kali.
# Pre-Requisites herunterladen & installieren
wget http://ftp.us.debian.org/debian/pool/main/i/icu/libicu57_57.1-9_amd64.deb
dpkg -i libicu57_57.1-9_amd64.deb
apt-get update && apt-get install -y curl gnupg apt-transport-https
# Microsoft Public Repository Key zu APT hinzufügen
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
# Microsoft Package Repository zur Source Liste hinzufügen
echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-debian-stretch-prod stretch main" | tee /etc/apt/sources.list.d/powershell.list
# PowerShell Core Package installieren
apt-get update && apt-get install -y powershell
# PowerShell Core starten
pwsh