Open xwenzheng opened 1 week ago
Sorry to read that. Seems that systeminformation is also using wmic which is deprecated in 24H2:
I am also looking for a solution to read wmi with nodejs without wmic with nodejs / electron.
@wald-tq @xwenzheng ... since version 5.9.7. we removed the use of wmic
(as it is deprecated - see also https://github.com/sebhildebrandt/systeminformation/issues/616). Anyway, there seems to be an issue in powershell
calling:
Get-CimInstance win32_VideoController | fl *
Can you confirm that this is not longer working (when calling this from powershell)?
Thank you for testing.
@sebhildebrandt thanks, I solved it in my app by calling powershell. I didn't know that you already solved that in your library.
Get-CimInstance win32_VideoController | fl *
This command works on my laptop with Windows 10
Describe the bug
in latest windows system call error:invoking remote method "get-machines-info": Error : Command failed: failed wmic path win32_VideoController
To Reproduce Steps to reproduce the behavior:
Current Output If applicable, add output to help explain your problem.
Expected behavior A clear and concise description of what you expected to happen.
Environment (please complete the following information):
To get all needed environment information, please run the following command:
Additional context Add any other context about the problem here.