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 {