Update StackMonkey_Beta.ps1

This commit is contained in:
2025-07-02 21:37:27 -04:00
parent aca03afeb4
commit 93f7290573

View File

@@ -21,14 +21,14 @@
interactively or via HTTP endpoints, and includes built-in validation and error trapping. interactively or via HTTP endpoints, and includes built-in validation and error trapping.
Key features: Key features:
- Credential retrieval securely fetches ApiUrl, ApiKey, and ApiSecretKey from a webhook. - Credential retrieval - securely fetches ApiUrl, ApiKey, and ApiSecretKey from a webhook.
- OAuth management automatically acquires and refreshes bearer tokens over TLS. - OAuth management - automatically acquires and refreshes bearer tokens over TLS.
- Site list fetching returns the list of RMM sites; validates OutputFile to .csv or .json. - Site list fetching - returns the list of RMM sites; validates OutputFile to .csv or .json.
- Site list saving writes fetched site list to the users Desktop as CSV or JSON. - Site list saving - writes fetched site list to the user's Desktop as CSV or JSON.
- Registry variable push writes site-specific variables under HKLM:\Software\SVS\Deployment. - Registry variable push - writes site-specific variables under HKLM:\Software\SVS\Deployment.
- Agent download & install downloads the Datto RMM agent installer and launches it. - Agent download & install - downloads the Datto RMM agent installer and launches it.
- Installer archiving saves a copy of the downloaded installer to C:\Temp. - 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. 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.