diff --git a/SVSTaskGate.ps1 b/SVSTaskGate.ps1 index 2ff1f9a..6160de0 100644 --- a/SVSTaskGate.ps1 +++ b/SVSTaskGate.ps1 @@ -884,7 +884,7 @@ try { } # Step 4: Build the PowerShell Command Dynamically - $installRMMCommand = "Install-DattoRMM -ApiUrl '$ApiUrl' -ApiKey '$ApiKey' -ApiSecretKey '$ApiSecretKey'" + $installRMMCommand = "Install-DattoRMM -ApiUrl '$ApiUrl' -ApiKey '$ApiKey' -ApiSecretKey '$ApiSecretKey' -SiteName $Name -SiteUID $UID " if ($checkedValues -contains 'inputVar') { $installRMMCommand += " -PushSiteVars"