Downloading a file with PowerShell
To download a file using PowerShell, run Invoke-WebRequest -Uri URL_HERE -OutFile FILE_NAME_HERE Example Invoke-WebRequest -Uri http://nginx.org/download/nginx-1.17.10.zip -OutFile nginx-1.17.10.zip See Windows
To download a file using PowerShell, run Invoke-WebRequest -Uri URL_HERE -OutFile FILE_NAME_HERE Example Invoke-WebRequest -Uri http://nginx.org/download/nginx-1.17.10.zip -OutFile nginx-1.17.10.zip See Windows
Install PowerShell in Debian 9 Downloading a file with PowerShell To install Azure PowerShell Module, run Install-Module AzureRM Install-Module Azure
To install Microsoft PowerShell in Debian 9, run apt-get update apt-get install curl gnupg apt-transport-https Install GPG keys curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add – Add repository echo “deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-debian-stretch-prod stretch main” > /etc/apt/sources.list.d/microsoft.list Install powershell apt-get update && apt-get install -y powershell To start powershell, run pwsh