Udostępnij za pośrednictwem


Use PowerShell to execute wmi queries (WQL)

By using Get-WmiObject in powershell it’s possible to perform WMI queries in WQL

 

One example: gwmi -Query "SELECT * from Win32_DiskPartition WHERE Bootable = TRUE"

image

Comments

  • Anonymous
    January 19, 2017
    nice