Friday, October 11, 2013

LDAP Queries for New Operating Systems like Windows 8.1

Find attached LDAP queries for find Windows 8, Windows 8.1, Windows Server 2012 and Windows Server 2012 R2 in your environment.

 
 Find all Windows 8.0 (all versions) computers
(&(objectCategory=computer)(operatingSystem=Windows 8*)(operatingSystemVersion=6.2 (9200))) 

Find all Windows 8.1 (all versions) computers
(&(objectCategory=computer)(operatingSystem=Windows 8.1*))

Find all Windows Server 2012 (all versions) computers
(&(objectCategory=computer)(operatingSystem=Windows Server 2012*))

Find all Windows Server 2012 no R2 (all versions) computers
(&(objectCategory=computer)(operatingSystem=Windows Server 2012*)
(operatingSystemVersion=6.2 (9200))) 

 Find all Windows Server 2012 R2 (all versions) computers
(&(objectCategory=computer)(operatingSystem=Windows Server 2012 R2*))


An example how to use this queries using ADUC, have a look at this post.



 

No comments:

Post a Comment