I'd like to use wmi querys to item-level target group policy preferences. Nothing I do is working. Not sure how to test. Could someone give me an example? below is when I'm trying to use to test currently.
Query: Select DisplayName from Win32_Service Where Name ='Print Spooler'
Namespace: Root\cimv2
Property: Print Spooler
I'm just testing. I guess my requirement in this test is just that it finds the print spooler service.
But really, the requirement would be that the service is running.
The Microsoft Server topic includes all of the legacy versions of the operating system, including the Windows NT 3.1, NT 3.5, NT 4.0 and Windows 2000 and Windows Home Server versions.