chore(docs): add Windows wmic information to README #393
+2
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue
start-server-and-test
uses the npm package [email protected], with cross-platform support, to implement the shut down server functionality.As shown in the ps-tree > README > Windows section,
ps-tree
makes use of thewmic
utility on Windows. This is the "Windows Management Instrumentation command-line" utility executable, also referred to asWMIC
(upper case).WMIC has however been deprecated by Microsoft since Aug 2016 and is removed by default in Windows 11 24H2.
There is currently no higher version of
ps-tree
available which removes the dependency on WMIC. There are two associated open PRs indexzero/ps-tree#59 and indexzero/ps-tree#62 which have not received any maintainer feedback.Change
Add information into the README > Install section for Windows 11 24H2.
References
Features Removed or Deprecated in Windows Server 2012 Aug 30, 2016
Deprecated features for Windows client Nov 14, 2024
WMI command line (WMIC) utility deprecation: Next steps
How to install WMIC Feature on Demand on Windows 11