Changed AllowUpdate type for easier programmable use on Agent installation

This commit is contained in:
Lord Hepipud 2019-09-30 00:32:45 +02:00
parent 411cfec4d4
commit 9bd709f0da

View file

@ -4,7 +4,7 @@ function Install-IcingaAgent()
[string]$Version,
[string]$Source = 'https://packages.icinga.com/windows/',
[string]$InstallDir = '',
[switch]$AllowUpdates
[bool]$AllowUpdates = $FALSE
);
$IcingaData = Get-IcingaAgentInstallation;