Update StackMonkey.ps1

This commit is contained in:
2025-06-23 01:07:23 -04:00
parent 9f51b84fd2
commit a893cf62b9

View File

@@ -133,7 +133,19 @@ $Global:DattoWebhookUrl = 'https://automate.svstools.ca/webhook/svsmspkit'
throw "Failed to retrieve Datto API credentials from n8n" 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 youve 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
} }
} }