Pwsh
Jump to navigation
Jump to search
Prefered
sudo apt-get update sudo apt-get install -y wget apt-transport-https software-properties-common source /etc/os-release wget -q https://packages.microsoft.com/config/ubuntu/$VERSION_ID/packages-microsoft-prod.deb sudo dpkg -i packages-microsoft-prod.deb rm packages-microsoft-prod.deb sudo apt-get update sudo apt-get install -y powershell pwsh
Must be sudo
sudo pwsh Install-Module -Name PSWSMan Install-WSMan
Trash
pwsh -Command 'Install-Module -Name PSWSMan' sudo pwsh -Command 'Install-WSMan'