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='DattoFetch')]
|
||||||
[Parameter(Mandatory,ParameterSetName='DattoInstall')]
|
[Parameter(Mandatory,ParameterSetName='DattoInstall')]
|
||||||
[SecureString]$WebhookPassword,
|
[String]$WebhookPassword,
|
||||||
|
|
||||||
[string]$WebhookUrl = $Global:DattoWebhookUrl,
|
[string]$WebhookUrl = $Global:DattoWebhookUrl,
|
||||||
|
|
||||||
@@ -1505,7 +1505,7 @@ function Install-DattoRMM {
|
|||||||
[CmdletBinding(SupportsShouldProcess=$true, ConfirmImpact='Medium')]
|
[CmdletBinding(SupportsShouldProcess=$true, ConfirmImpact='Medium')]
|
||||||
param (
|
param (
|
||||||
[switch]$UseWebhook,
|
[switch]$UseWebhook,
|
||||||
[SecureString]$WebhookPassword,
|
[String]$WebhookPassword,
|
||||||
[string]$WebhookUrl = $Global:DattoWebhookUrl,
|
[string]$WebhookUrl = $Global:DattoWebhookUrl,
|
||||||
[string]$ApiUrl,
|
[string]$ApiUrl,
|
||||||
[string]$ApiKey,
|
[string]$ApiKey,
|
||||||
|
|||||||
Reference in New Issue
Block a user