Install PowerShell on Linux

Aus Wiki-WebPerfect
Version vom 16. Juli 2020, 12:24 Uhr von Admin (Diskussion | Beiträge)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

Install PowerShell on Kali-Linux

# Download the Microsoft repository GPG keys
wget https://packages.microsoft.com/config/debian/10/packages-microsoft-prod.deb
 
# Register the Microsoft repository GPG keys
sudo dpkg -i packages-microsoft-prod.deb
 
# Update the list of products
sudo apt-get update
 
# Install PowerShell
sudo apt-get install -y powershell
 
# Start PowerShell
pwsh

Source: https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-linux?view=powershell-7