mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-21 15:19:58 -05:00
16 lines
320 B
PowerShell
16 lines
320 B
PowerShell
function Set-IcingaEnvironmentGlobal()
|
|
{
|
|
param (
|
|
$GlobalEnvironment = $null
|
|
);
|
|
|
|
if ($null -eq $GlobalEnvironment -Or $null -eq $Global:Icinga) {
|
|
return;
|
|
}
|
|
|
|
if ($Global:Icinga.ContainsKey('Public') -eq $FALSE) {
|
|
return;
|
|
}
|
|
|
|
$Global:Icinga.Public = $GlobalEnvironment;
|
|
}
|