mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-20 23:00:35 -05:00
10 lines
297 B
PowerShell
10 lines
297 B
PowerShell
function Set-IcingaEnvironmentJEA()
|
|
{
|
|
param (
|
|
[bool]$JeaEnabled = $FALSE
|
|
);
|
|
|
|
if ($null -ne $Global:Icinga -And $Global:Icinga.ContainsKey('Protected') -And $Global:Icinga.Protected.ContainsKey('JEAContext')) {
|
|
$Global:Icinga.Protected.JEAContext = $JeaEnabled;
|
|
}
|
|
}
|