Update SVSTaskGate.ps1

This commit is contained in:
2025-01-05 00:24:52 -05:00
parent 00890f85ac
commit fa255c1cec

View File

@@ -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';