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 d3d319942e
commit 4925279074

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;