From 38840f73667fc698736f3bfd0a3b0a74b82883d7 Mon Sep 17 00:00:00 2001 From: Stephan Yelle Date: Sun, 5 Jan 2025 18:50:46 -0500 Subject: [PATCH] Update SVSTaskGate.ps1 --- SVSTaskGate.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SVSTaskGate.ps1 b/SVSTaskGate.ps1 index 4f1cd3e..fcc51da 100644 --- a/SVSTaskGate.ps1 +++ b/SVSTaskGate.ps1 @@ -913,12 +913,12 @@ try { $installRMMCommand += " -SaveCopy" } - Write-LogHybrid -Message "Constructed Command: $installRMMCommand for UID: $UID, Name: $Name" -Level "Info" + # Step 5: Execute the Command try { Invoke-Expression $installRMMCommand - $responseString = "RMM installation triggered successfully for UID: $UID, Name: $Name." + $responseString = "RMM installation triggered successfully for $Name." Write-LogHybrid -Message $responseString -Level "Success" $response.StatusCode = 200 } catch {