ps-tree seems to use wmic which is removed from Windows Server 2025, and possibly also gone from Windows 11 25H2 (not yet tested).
https://github.com/indexzero/ps-tree/blob/635e1c3808f3df51308efbe080c1e5112c38a44c/index.js#L51
This is used to list and kill processes on Windows, but fails on Windows 2025 (not sure if fatally, but tests fail). Needs some investigation and an alternate approach implemented as ps-tree seems abandoned: indexzero/ps-tree#69 / indexzero/ps-tree#62
Afterwards, 37f8668 can be reverted.