Install PowerShell on Linux: Unterschied zwischen den Versionen

Aus Wiki-WebPerfect
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „== Install PowerShell on Kali-Linux == <source lang="bash"> # Download the Microsoft repository GPG keys wget https://packages.microsoft.com/config/debian/10/p…“)
 
 
Zeile 16: Zeile 16:
 
pwsh
 
pwsh
 
</source>
 
</source>
 +
 +
''Source: https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-linux?view=powershell-7''
  
  

Aktuelle Version vom 16. Juli 2020, 13:24 Uhr

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