This is as much a learning question as it is a pressing, both in equal measures. I need to poll our AD to determine what computers are running Windows XP and what service pack level they are at (none, 1, 2, or 3). I would like to do this with PowerShell, but I am open to any method which will get me quick results. I need to make sure that the query has computer name, OS with SP level, OU location, last logon, and status (active or disabled).
Thanks in advance!