Nope. With the query below you gonna have the servers as well :) You must narrow the scope of the query such as:
 
Select * from Win32_ComputerSystem WHERE DomainRole  = VALUE
 
Where value is:
 
1 for Standalone Workstation
2 for Member Workstation
3 for Standalone Server
4 for Member Server
5 for Backup Domain Controller
6 for Primary Domain Controller
 
HTH
/Alain
 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Darren Mar-Elia
Sent: Thursday, October 06, 2005 3:09 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] WMI Filters - Domain Specific

You might try:
Select * from Win32_ComputerSystem WHERE domain = "contoso.com"
 
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Harding, Devon
Sent: Thursday, October 06, 2005 1:17 PM
To: ActiveDir@mail.activedir.org
Subject: [ActiveDir] WMI Filters - Domain Specific

What is the WMI filter to specify all Workstations in a specific domain?

 

Devon Harding

Windows Systems Engineer

Southern Wine & Spirits - BSG

954-602-2469

 


__________________________________
This message and any attachments are solely for the intended recipient
and may contain confidential or privileged information. If you are not
the intended recipient, any disclosure, copying, use or distribution of
the information included in the message and any attachments is
prohibited. If you have received this communication in error, please
notify us by reply e-mail and immediately and permanently delete this
message and any attachments. Thank You.

Reply via email to