I was recently asked to get a quick report of all Windows 7 computers within a multi-domain AD forest.  After banging my head into the keyboard for a while, I finally figured it out.  The script below should do the trick. Also, if you use the OperatingSystemVersion attribute, you will find that Server 2008 R2 [...]