You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/100-General/10-Changelog.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,7 @@ Released closed milestones can be found on [GitHub](https://github.com/Icinga/ic
19
19
20
20
*[#707](https://github.com/Icinga/icinga-powershell-framework/pull/707) Fixes size of the `Icinga for Windows` eventlog by setting it to `20MiB`, allowing to store more events before they are overwritten
21
21
*[#710](https://github.com/Icinga/icinga-powershell-framework/pull/710) Fixes various console errors while running Icinga for Windows outside of an administrative shell
22
+
*[#714](https://github.com/Icinga/icinga-powershell-framework/pull/714) Fixes missing service environment information during initial setup of Icinga for Windows v1.12 on some systems
Copy file name to clipboardExpand all lines: lib/core/icingaagent/setters/Set-IcingaServiceEnvironment.psm1
+46-12Lines changed: 46 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -4,19 +4,11 @@ function Set-IcingaServiceEnvironment()
4
4
[switch]$Force=$FALSE
5
5
);
6
6
7
-
if ($null-ne$Global:Icinga.Protected.Environment.'Icinga Service'-And$null-ne$Global:Icinga.Protected.Environment.'PowerShell Service'-And$Force-eq$FALSE) {
8
-
return;
9
-
}
10
-
11
7
# Don't do anything if we are not inside an administrative shell
12
8
if ((Test-AdministrativeShell) -eq$FALSE) {
13
9
return;
14
10
}
15
11
16
-
# Use scheduled tasks to fetch our current service configuration for faster load times afterwards
0 commit comments