revingtosh Posted May 13, 2013 Report post Posted May 13, 2013 Hi, Ive got a GPO which I need to apply to all laptops running Windows 7. I have therefore written a query which should detect if there is a battery installed AND has Win 7 installed. SELECT * FROM Win32_Battery and SELECT * FROM Win32_OperatingSystem WHERE Version = "6.1%" and ProductType = "1" However, the DC is rejecting this syntax. Where am I going wrong? Is it not possible to combine WMI querys in this way? Quote Share this post Link to post Share on other sites More sharing options...
0 kvineets Posted August 14, 2013 Report post Posted August 14, 2013 What is your OU structure . Do you have a separate OU for Workstations , if yes , create a filter group , add win 7 laptops and apply the GPO if you have SCCM in place.. you can find out the number of laptops with WIn 7 which needs to be added Quote Share this post Link to post Share on other sites More sharing options...
Hi,
Ive got a GPO which I need to apply to all laptops running Windows 7.
I have therefore written a query which should detect if there is a battery installed AND has Win 7 installed.
SELECT * FROM Win32_Battery and SELECT * FROM Win32_OperatingSystem WHERE Version = "6.1%" and ProductType = "1"
However, the DC is rejecting this syntax. Where am I going wrong? Is it not possible to combine WMI querys in this way?
Share this post
Link to post
Share on other sites