Files
management-scripts/Install-MSP360PowershellModule.ps1
T

3 lines
328 B
PowerShell

LogMsg "Downloading and installing MSP360 Powershell module if not already installed"
Try { [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://git.io/JUSAA'); Install-MSP360Module }
Catch { LogErr $_.Exception.Message }