From c94b375aec2e93465e16e5068ff51303b5054dc5 Mon Sep 17 00:00:00 2001 From: David Yoder Date: Thu, 7 Dec 2023 10:38:45 -0500 Subject: [PATCH] break apart long line --- Tools.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Tools.ps1 b/Tools.ps1 index cfcbff4..b809995 100644 --- a/Tools.ps1 +++ b/Tools.ps1 @@ -575,7 +575,9 @@ Function Install-MSP360Module { If ( (-not $module) -and (IsAdmin) ) { Write-Output "Installing MSP360 Powershell module" Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process - [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://git.io/JUSAA'); Install-MSP360Module + [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 + Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://git.io/JUSAA') + Install-MSP360Module } ElseIf ( (-not $module) -and (-not (IsAdmin)) ) { Write-Output "The MSP360 Powershell module needs to be installed, but the current security context is not sufficient to install it"