WMI Filter for Any desktop but not Virtual Machine

Eric So 21 Reputation points
2021-07-12T17:14:36.217+00:00

How I can create a WMI Filter for any Physical endpoint ( not servers ) but not Virtual Machine?

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,706 questions
0 comments No comments
{count} votes

Accepted answer
  1. Fan Fan 15,286 Reputation points Microsoft Vendor
    2021-07-13T00:26:00.747+00:00

    Hi,

    Try the following WMI Filter:
    select * from win32_computersystem where pcsystemtype = 2 and not model like '%virtual%'

    Best Regards,

    0 comments No comments

0 additional answers

Sort by: Most helpful