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

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