diff --git a/StackMonkey.ps1 b/StackMonkey.ps1 index 472eac4..72d4e04 100644 --- a/StackMonkey.ps1 +++ b/StackMonkey.ps1 @@ -1121,6 +1121,9 @@ $script $raw = (New-Object IO.StreamReader $Context.Request.InputStream).ReadToEnd() $pw = (ConvertFrom-Json $raw).password + # ★ Store it globally for the next call ★ + $Global:WebhookPassword = $pw + # 2) Delegate to your unified function $sites = Install-DattoRMM ` -UseWebhook `