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? Windows Systems
Engineer Southern Wine & Spirits
- BSG 954-602-2469
__________________________________ |
- RE: [ActiveDir] WMI Filters - Domain Specific Alain Lissoir
- RE: [ActiveDir] WMI Filters - Domain Specific Harding, Devon
- RE: [ActiveDir] WMI Filters - Domain Specific Alain Lissoir