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.
5,824 questions
0 comments No comments
{count} votes

Accepted answer
  1. Anonymous
    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,

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.