icinga-powershell-framework/lib/core/installer/tools/ClearValuesFromStep.psm1
2021-08-06 15:08:53 +02:00

14 lines
372 B
PowerShell

function Clear-IcingaForWindowsInstallerValuesFromStep()
{
$Step = Get-IcingaForWindowsManagementConsoleMenu;
if ($global:Icinga.InstallWizard.Config.ContainsKey($Step) -eq $FALSE) {
return;
}
if ($null -eq $global:Icinga.InstallWizard.Config[$Step].Values) {
return;
}
$global:Icinga.InstallWizard.Config[$Step].Values = @();
}