PDA

Показать полную графическую версию : Перевести из powershell во WMIC


dasgespenst
03-02-2016, 14:36
Есть такая строчка

(Get-WmiObject -Namespace Root\OpenHardwareMonitor -Class sensor | ?{$_.identifier -eq "/intelcpu/0/temperature/0"}).value

Как её во WMIC перевести?

Kazun
03-02-2016, 14:59
wmic /namespace:\\Root\OpenHardwareMonitor path sensor where "identifier='//intelcpu//0//temperature//0'" get value | findstr "[0-9]"




© OSzone.net 2001-2012