From b7a1234b7b3da1f25434d5268f1aa6c1297a66de Mon Sep 17 00:00:00 2001 From: iRaven4522 Date: Wed, 15 Oct 2025 00:19:26 -0500 Subject: [PATCH] AnyConnect - norestart on SBL and Core --- Install-AnyConnect.ps1 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Install-AnyConnect.ps1 b/Install-AnyConnect.ps1 index 8f73175..5a9abf5 100644 --- a/Install-AnyConnect.ps1 +++ b/Install-AnyConnect.ps1 @@ -2,6 +2,13 @@ # Technolog Networks - 2025-10-13 # iRaven +<# +.SYNOPSIS +Installs Cisco AnyConnect/Secure VPN Client +.PARAMETER SBL +Boolean to install Start Before Logon module. +#> + param( [switch] $SBL ) @@ -19,10 +26,10 @@ Function CheckInstall { if ((CheckInstall) -eq $false) { try { Write-Host -ForegroundColor Yellow "Installing AnyConnect Core" - msiexec /i ".\CiscoAnyConnect.msi" /quiet + msiexec /i ".\CiscoAnyConnect.msi" /quiet /norestart if ($SBL) { Write-Host -ForegroundColor Yellow "Installing AnyConnect SBL" - msiexec /i ".\CiscoAnyConnectSBL.msi" /quiet + msiexec /i ".\CiscoAnyConnectSBL.msi" /quiet /norestart } } catch { write-host "it no worky"