IcingaAgentInstallWizard deprecated - What to use instead?

Hi Team,

when I configure a new Windows agent (or reconfigure it after the hostname changed) I used
to get the configuration from Icinga director and automate the whole process.

But this command is deprecated now:

What should I use now?


deprecated means it doesn’t get new features and it will be removed in the future, but it is still there so don’t worry that much.

But it is very appreciated that you take that deprecation notice seriously and think of the new installation method.

the new way to install icinga2 for windows is to navigate through icinga -mange or
using a json file for all the config data.
this file can be preconfigured with icinga -mange see:


at the end you can show the json file to automate the steps.

if you carry on reading you will see this which is the “kickstarter” script which loads the kickstarter script, which loads the framework and starts the installation and director registration

[Net.ServicePointManager]::SecurityProtocol = 'tls12, tls11';
$ProgressPreference                         = 'SilentlyContinue';
[string]$ScriptFile                         = 'C:\Users\Public\IcingaForWindows.ps1';

Invoke-WebRequest `
    -UseBasicParsing `
    -Uri 'https://packages.icinga.com/IcingaForWindows/IcingaForWindows.ps1' `
    -OutFile $ScriptFile;

& $ScriptFile