I've been searching for almost a day and can't find any script that will allows me to list all workstations (computer) from Domain. I mean Workstation Only or a way to identify either workstation, member server, PDC, or BDC.

This script I've below will list all computers include servers. Is there any way that I can query ONLY workstations?

Code:
 
$Computers=GetObject("WinNT://$Domain")
$Computers.filter="Computer",""
For Each $Computer In $Computers
'display computer.name here.
Next

_________________________
Thanks, Sing