From 97666080a8ed0305743979c407fdeac6a559c2f3 Mon Sep 17 00:00:00 2001 From: Stephan Yelle Date: Wed, 2 Jul 2025 17:28:12 -0400 Subject: [PATCH] Update StackMonkey_Beta.ps1 --- StackMonkey_Beta.ps1 | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/StackMonkey_Beta.ps1 b/StackMonkey_Beta.ps1 index de2fc54..b9cc4b6 100644 --- a/StackMonkey_Beta.ps1 +++ b/StackMonkey_Beta.ps1 @@ -7,7 +7,6 @@ Need to pass the N8N variables to the "install-dattormm" in the toolkit #> - #endregion changes to be done <# @@ -60,20 +59,10 @@ Need to pass the N8N variables to the "install-dattormm" in the toolkit -WhatIf .EXAMPLE - & ([ScriptBlock]::Create( - (iwr 'https://sm.svstools.com/ScriptMonkey.ps1' -UseBasicParsing).Content -)) ` - -N8nPassword 's3cr3t' ` - -FetchSitesOnly ` - -OutputFile 'sites.json' + & ([ScriptBlock]::Create( (iwr 'https://sm.svstools.com/ScriptMonkey.ps1' -UseBasicParsing).Content)) -N8nPassword '' -FetchSitesOnly -OutputFile '' .EXAMPLE - & ([ScriptBlock]::Create( - (iwr 'https://sm.svstools.com/ScriptMonkey.ps1' -UseBasicParsing).Content -)) ` - -N8nPassword 's3cr3t' ` - -FetchSitesOnly -# → writes datto_sites.csv + & ([ScriptBlock]::Create( (iwr 'https://sm.svstools.com/ScriptMonkey.ps1' -UseBasicParsing).Content )) -N8nPassword 's3cr3t' -FetchSitesOnly .EXAMPLE & ([ScriptBlock]::Create((iwr 'sm.svstools.ca').Content )) -SilentInstall @@ -81,12 +70,6 @@ Need to pass the N8N variables to the "install-dattormm" in the toolkit .EXAMPLE & ([ScriptBlock]::Create((iwr 'sm.svstools.com').Content)) -Cleanup - -.EXAMPLE - not tested but i thin this is how would call it - iex (iwr 'https://your.server/ScriptMonkey.ps1' -UseBasicParsing).Content; Invoke-ScriptMonkey -DattoApiUrl - 'https://…' -DattoApiKey '…' -DattoApiSecretKey '…' -SiteUID '…' -SiteName '…' -InstallRMM -PushSiteVars" - #> function Invoke-ScriptMonkey {