Update SVSTaskGate.ps1
This commit is contained in:
@@ -884,7 +884,7 @@ try {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Step 4: Build the PowerShell Command Dynamically
|
# 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') {
|
if ($checkedValues -contains 'inputVar') {
|
||||||
$installRMMCommand += " -PushSiteVars"
|
$installRMMCommand += " -PushSiteVars"
|
||||||
|
|||||||
Reference in New Issue
Block a user