The script queries all the Domain Controllers in the forest for the OS Version and SP revision.
Example output:
C:\Depot\Dev\Scripts\Batch>GetDCVersions.cmd
ILROOTDC01: Microsoft Windows Server 2003 R2 [Service Pack 1]ILROOTDC02: Microsoft Windows Server 2003 R2 [Service Pack 1]UKDOMADC01: Microsoft Windows Server 2003 [Service Pack 1]USDOMBDC01: Microsoft Windows Server 2003 [Service Pack 1]USDOMBDC02: Microsoft Windows Server 2003 [Service Pack 1]