Update SVSTaskGate.ps1
This commit is contained in:
@@ -867,6 +867,8 @@ try {
|
|||||||
$installCommand += " -ApiUrl '$ApiUrl' -ApiKey '$ApiKey' -ApiSecretKey '$ApiSecretKey'"
|
$installCommand += " -ApiUrl '$ApiUrl' -ApiKey '$ApiKey' -ApiSecretKey '$ApiSecretKey'"
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Write-LogHybrid -Message "Executing command: $installCommand" -Level "Info"
|
||||||
|
|
||||||
Invoke-Expression $installCommand
|
Invoke-Expression $installCommand
|
||||||
$responseString = "RMM install triggered successfully."
|
$responseString = "RMM install triggered successfully."
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user