From 8d9419369d97bbcdcf75b1915ae0637e17162c4c Mon Sep 17 00:00:00 2001 From: Stephan Yelle Date: Sun, 29 Jun 2025 02:43:17 -0400 Subject: [PATCH] added examples --- StackMonkey.ps1 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/StackMonkey.ps1 b/StackMonkey.ps1 index 7c594f2..e54cb0d 100644 --- a/StackMonkey.ps1 +++ b/StackMonkey.ps1 @@ -55,6 +55,22 @@ -SaveCopy ` -WhatIf +.EXAMPLE + & ([ScriptBlock]::Create( + (iwr 'https://sm.svstools.com/ScriptMonkey.ps1' -UseBasicParsing).Content +)) ` + -N8nPassword 's3cr3t' ` + -FetchSitesOnly ` + -OutputFile 'sites.json' + +.EXAMPLE + & ([ScriptBlock]::Create( + (iwr 'https://sm.svstools.com/ScriptMonkey.ps1' -UseBasicParsing).Content +)) ` + -N8nPassword 's3cr3t' ` + -FetchSitesOnly +# → writes datto_sites.csv + .EXAMPLE Before i built the Invoke-scriptmonkey & ([ScriptBlock]::Create( (iwr 'sm.svstools.ca').Content )) -SilentInstall