change WebhookPassword back to string
This commit is contained in:
4
samy.ps1
4
samy.ps1
@@ -194,7 +194,7 @@ $ConfirmPreference = 'None'
|
||||
|
||||
[Parameter(Mandatory,ParameterSetName='DattoFetch')]
|
||||
[Parameter(Mandatory,ParameterSetName='DattoInstall')]
|
||||
[SecureString]$WebhookPassword,
|
||||
[String]$WebhookPassword,
|
||||
|
||||
[string]$WebhookUrl = $Global:DattoWebhookUrl,
|
||||
|
||||
@@ -1505,7 +1505,7 @@ function Install-DattoRMM {
|
||||
[CmdletBinding(SupportsShouldProcess=$true, ConfirmImpact='Medium')]
|
||||
param (
|
||||
[switch]$UseWebhook,
|
||||
[SecureString]$WebhookPassword,
|
||||
[String]$WebhookPassword,
|
||||
[string]$WebhookUrl = $Global:DattoWebhookUrl,
|
||||
[string]$ApiUrl,
|
||||
[string]$ApiKey,
|
||||
|
||||
Reference in New Issue
Block a user