Jax-Core / Plainext

A text-only system monitoring widget
MIT License
54 stars 8 forks source link

Microsoft removed the WMIC tool from Windows 11 Dev builds #8

Closed 1ucay closed 2 years ago

1ucay commented 2 years ago

Hello sir,

I have problem with wmic command in your Plainext. Widget dont show GPU a MBD anymore. https://winaero.com/microsoft-removed-the-wmic-tool-from-windows-11-dev-builds/

So workaround is switching to powershell, which working for me ok.

[MeasureGPUName] Measure=Plugin Plugin=RunCommand Program=powershell.exe Parameter=Get-WmiObject Win32_VideoController | Select-Object -Expand Name

[MeasureMotherboardname] Measure=Plugin Plugin=RunCommand Program=powershell.exe Parameter=Get-WmiObject Win32_BaseBoard | Select-Object -Expand Product

EnhancedJax commented 2 years ago

Thankyou! I'll update the skin later. 👍