Quantcast
Channel: Configuration Manager 2007 Operating System Deployment forum
Viewing all articles
Browse latest Browse all 1063

Query mobile machines, but not virtual machines

$
0
0
Hi, 

I am currently using a WMI to query all mobile machines using this statement - select * from win32_computersystem where pcsystemtype = 2

The query works fine but is also picking up virtual machines running on laptops. I want to exclude the task form running on machines running on these virtual machines. Is there anything way of appending the original statement to exclude the virtual machines. Most virtual platforms include the word 'virtual' in the model description (VMWare Virtual Platform, Virtual Machine, virtualbox). I don't know id this would work, but would something likeselect * from win32_computersystem where pcsystemtype = 2 (and where Model does NOT include "virtual") be possible? 

Thanks. 



JC


Viewing all articles
Browse latest Browse all 1063

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>