From f18d0ff7e98256b3f40c797eaffbcad3c18bed70 Mon Sep 17 00:00:00 2001 From: Stephan Yelle Date: Wed, 2 Jul 2025 21:38:12 -0400 Subject: [PATCH] Update StackMonkey_Beta.ps1 --- StackMonkey_Beta.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/StackMonkey_Beta.ps1 b/StackMonkey_Beta.ps1 index 0ae00e2..22fbc26 100644 --- a/StackMonkey_Beta.ps1 +++ b/StackMonkey_Beta.ps1 @@ -28,9 +28,9 @@ - Registry variable push - writes site-specific variables under HKLM:\Software\SVS\Deployment. - Agent download & install - downloads the Datto RMM agent installer and launches it. - Installer archiving – saves a copy of the downloaded installer to C:\Temp. - - HTTP endpoints - exposes `/getpw` and `/installDattoRMM` handlers, each wrapped in try/catch + - HTTP endpoints - exposes /getpw and /installDattoRMM handlers, each wrapped in try/catch to log errors and return proper HTTP 500 responses on failure. - - Idempotent & WhatIf support – uses ShouldProcess for safe, testable agent installs. + - Idempotent & WhatIf support - uses ShouldProcess for safe, testable agent installs. Throughout, secrets are never written to logs or console, and all operations produce clear success/failure messages via Write-LogHybrid. ```