Werk #19505: Fix Windows agent command compatibility issues
| Component | Setup | ||||
| Title | Fix Windows agent command compatibility issues | ||||
| Date | Mar 20, 2026 | ||||
| Level | Trivial Change | ||||
| Class | Bug Fix | ||||
| Compatibility | Compatible - no manual interaction needed | ||||
| Checkmk versions & editions |
|
The commands to download and register the Windows agent in the agent registration slide-out were not compatible with both CMD and Powershell.
Avoid compatibility problems with older versions of Powershell that
don't support && by splitting the Windows download and installation
command into two: one for download and a second one for installation.
Additionally, avoid compatibility problems with Powershell by not
splitting the registration command into multiple lines using ^.