Question: how to fix wmic is not recognized as an internal or external command?
Answer: Open Command Prompt in the machine, where nodeagent has to be started. Run the following command for adding folder containing wmic to PATH environment variable: