From 8fca9a034ae6727aff02ee3fdf06c32731322bdd Mon Sep 17 00:00:00 2001 From: Stephan Yelle Date: Wed, 25 Jun 2025 00:49:17 -0400 Subject: [PATCH] Update StackMonkey.ps1 --- StackMonkey.ps1 | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/StackMonkey.ps1 b/StackMonkey.ps1 index 400abee..7efb843 100644 --- a/StackMonkey.ps1 +++ b/StackMonkey.ps1 @@ -41,15 +41,16 @@ Switch to download the RMM installer executable during the headless DattoRMM install. .EXAMPLE - # One-liner to silently install DattoRMM via ScriptMonkey: - & ([ScriptBlock]::Create( (iwr 'https://sm.svstools.com/ScriptMonkey.ps1' -UseBasicParsing).Content )) ` - -DattoApiUrl 'https://your-datto-api-url' ` - -DattoApiKey 'yourKeyHere' ` - -DattoApiSecretKey 'yourSecretHere' ` - -SiteUID 'site-uid-value' ` - -SiteName 'My Client Site' ` + & ([ScriptBlock]::Create( + (iwr 'https://sm.svstools.com' -UseBasicParsing).Content + )) ` + -N8nPassword 'pwd' ` + -SiteUID 'site-123' ` + -SiteName 'Acme Corp' ` -InstallRMM ` - -PushSiteVars + -PushSiteVars ` + -SaveCopy ` + -WhatIf .EXAMPLE Before i built the Invoke-scriptmonkey