question

EricSo-1119 avatar image
0 Votes"
EricSo-1119 asked FanFan-MSFT edited

WMI Filter for Any desktop but not Virtual Machine

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

windows-group-policy
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

FanFan-MSFT avatar image
0 Votes"
FanFan-MSFT answered FanFan-MSFT edited

Hi,

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

Best Regards,

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.