added line 1025
This commit is contained in:
@@ -1121,6 +1121,9 @@ $script
|
|||||||
$raw = (New-Object IO.StreamReader $Context.Request.InputStream).ReadToEnd()
|
$raw = (New-Object IO.StreamReader $Context.Request.InputStream).ReadToEnd()
|
||||||
$pw = (ConvertFrom-Json $raw).password
|
$pw = (ConvertFrom-Json $raw).password
|
||||||
|
|
||||||
|
# ★ Store it globally for the next call ★
|
||||||
|
$Global:WebhookPassword = $pw
|
||||||
|
|
||||||
# 2) Delegate to your unified function
|
# 2) Delegate to your unified function
|
||||||
$sites = Install-DattoRMM `
|
$sites = Install-DattoRMM `
|
||||||
-UseWebhook `
|
-UseWebhook `
|
||||||
|
|||||||
Reference in New Issue
Block a user