From fa255c1cec3ac1d573d49da95d8ec1522cbbb53e Mon Sep 17 00:00:00 2001 From: Stephan Yelle Date: Sun, 5 Jan 2025 00:24:52 -0500 Subject: [PATCH] Update SVSTaskGate.ps1 --- SVSTaskGate.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SVSTaskGate.ps1 b/SVSTaskGate.ps1 index f540627..8859f32 100644 --- a/SVSTaskGate.ps1 +++ b/SVSTaskGate.ps1 @@ -700,7 +700,7 @@ function GetHtmlContent { appendLog("Installing selected site RMM...", "cyan"); const checkedValues = Array.from(DattoRMMCheckbox).map(c => c.value); - let installRMMCommand = 'Install-DattoRMM -ApiUrl $ApiUrl -ApiKey $ApiKey -ApiSecretKey $ApiSecretKey'; + let installRMMCommand = `Install-DattoRMM -ApiUrl ${ApiUrl} -ApiKey ${ApiKey} -ApiSecretKey ${ApiSecretKey}`; if (checkedValues.includes('inputVar')) { installRMMCommand += ' -PushSiteVars';