Update StackMonkey.ps1
This commit is contained in:
@@ -133,7 +133,19 @@ $Global:DattoWebhookUrl = 'https://automate.svstools.ca/webhook/svsmspkit'
|
||||
throw "Failed to retrieve Datto API credentials from n8n"
|
||||
}
|
||||
|
||||
#2) need to run the install-dattormm
|
||||
# 2) call the existing cmdlet from your module
|
||||
# (make sure you’ve already done Import-Module SVSMSP or the module that contains it)
|
||||
Install-DattoRMM `
|
||||
-ApiUrl $creds.ApiUrl `
|
||||
-ApiKey $creds.ApiKey `
|
||||
-ApiSecretKey $creds.ApiSecretKey `
|
||||
-SiteUID $SiteUID `
|
||||
-SiteName $SiteName `
|
||||
-PushSiteVars:$PushSiteVars `
|
||||
-InstallRMM:$InstallRMM `
|
||||
-SaveCopy:$SaveCopy
|
||||
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user