diff --git a/SVSTaskGate.ps1 b/SVSTaskGate.ps1 index 995e578..160213e 100644 --- a/SVSTaskGate.ps1 +++ b/SVSTaskGate.ps1 @@ -1,25 +1,13 @@ ### To Modify of January 5 2025 -### set the priority in the js code so it waits for one function to complete before starting the next one + ### let's start thinking about the write-log -TaskCategory "On-boarding" or "Off-boarding" -### need new logo and the RGB color codes form john -### add tweak to set default provider, add to toolkit? -### add an "off board" button -### add "run tweaks" button +### need RGB color codes form john ### add the .net silent install tweaks to toolkit ### for the reg tweak need to do/undo function maybe it should have it own check box list ### new tab for client apps? - -############################################################# - -### Changes done - -### minor change the the param of install-svsmsp -### commented out line 64 -### moved logo to the left in line 384 - - +#region Write-Log # --------------------------------------------------------------------------- # 1) CREATE A GLOBAL LOG CACHE (NEW) # --------------------------------------------------------------------------- @@ -143,6 +131,10 @@ else { # Example usage of Write-LogHybrid Write-LogHybrid -Message "Starting SVS TaskGate" -Level "Info" -TaskCategory "SVSTaskGate" -LogToEvent:$true +#endregion +#region SVS Module + + function Install-SVSMSP { param ( @@ -202,6 +194,9 @@ function Install-SVSMSP { [string]$ApiSecretKey ) + + + function Perform-Cleanup { Write-LogHybrid -Message "Cleanup mode enabled. Starting cleanup process..." -Level "Info" -LogToEvent @@ -319,9 +314,7 @@ function Install-SVSMSP { Write-LogHybrid -Message "No specific mode specified. Defaulting to toolkit installation mode..." -Level "Info" -LogToEvent Perform-ToolkitInstallation } - - # Install-SVSMSP -InstallToolkit - +#endregion SVS Module # ---------------------------------------------------------------------------------- # START THE LISTENER @@ -501,7 +494,7 @@ function GetHtmlContent {
- SVS Logo + SVS Logo
-
-

Logs will appear here...

-
+
@@ -609,6 +600,9 @@ function GetHtmlContent { Uninstall ThreatLocker +
+ +
@@ -620,8 +614,8 @@ function GetHtmlContent { Select All +
+ +
+ + +
+

Logs will appear here...

+