Prev: VBScript to check URLs
Next: Twitter script (no API)
From: Dave on 29 Aug 2010 13:40 Is there a way to query a specific OU to return the count of a specific operating system without iteration? I just want to return the count of a specific OS from all the computers in a specific OU. I just can't imagine how this can be done without iteration and binding to each computer object to get the OS, but I'm hoping it can be done.
From: Corey on 30 Aug 2010 07:56 Have you tried something like this: select operatingsystem from 'LDAP://[your OUpath here]' where objectClass='computer' AND operatingSystem = '[os to look for]' On Aug 29, 1:40 pm, Dave <D...(a)discussions.microsoft.com> wrote: > Is there a way to query a specific OU to return the count of a specific > operating system without iteration? I just want to return the count of a > specific OS from all the computers in a specific OU. I just can't imagine how > this can be done without iteration and binding to each computer object to get > the OS, but I'm hoping it can be done.
|
Pages: 1 Prev: VBScript to check URLs Next: Twitter script (no API) |