major update to backup agent installation

This commit is contained in:
2021-09-22 14:51:23 -04:00
parent e482c9507a
commit 0ddd5c801a
5 changed files with 35 additions and 8 deletions
+3 -2
View File
@@ -1,2 +1,3 @@
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://git.io/JUSAA')+'Install-MSP360Module')
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 }