diff --git a/samy.ps1 b/samy.ps1 index 62da9ce..d245424 100644 --- a/samy.ps1 +++ b/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,