WMI Filter for Any desktop but not Virtual Machine

Eric So 21 Reputation points

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

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


    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