Skip to content

Commit 8ed2c48

Browse files
committed
Fixes IfW service installation on certain Windows environment
1 parent 517c19e commit 8ed2c48

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

doc/100-General/10-Changelog.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ documentation before upgrading to a new release.
77

88
Released closed milestones can be found on [GitHub](https://github.com/Icinga/icinga-powershell-framework/milestones?state=closed).
99

10+
## 1.13.2 (2025-02-03)
11+
12+
[Issues and PRs](https://github.com/Icinga/icinga-powershell-framework/milestone/40)
13+
14+
* [#780](https://github.com/Icinga/icinga-powershell-framework/issues/780) Fixes Icinga for Windows service installation not working properly on certain Windows environments
15+
16+
### Bugfixes
17+
18+
* [#778](https://github.com/Icinga/icinga-powershell-framework/issues/778) Fixes test commands like `Test-IcingaForWindows` failing because of wrong assigned ServiceData information.
19+
1020
## 1.13.1 (2025-01-31)
1121

1222
[Issues and PRs](https://github.com/Icinga/icinga-powershell-framework/milestone/39)

jobs/GetWindowsService.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Use-Icinga -Minimal;
1818
try {
1919
$SvcData = Get-IcingaServices "$ServiceName" -ErrorAction Stop;
2020

21-
if ($null -ne $SvcData) {
21+
if ($null -ne $SvcData -And $SvcData.Count -ne 0) {
2222
$ServiceConfig = $SvcData."$ServiceName".configuration;
2323
$ServiceMeta = $SvcData."$ServiceName".metadata;
2424
$ServiceData.Status = [string]$ServiceConfig.Status.value;

0 commit comments

Comments
 (0)