A small PowerShell one-liner for creating a list of computers with their operating system version:
Get-ADComputer -Filter * -Property * | Select-Object Name,OperatingSystem,OperatingSystemServicePack,OperatingSystemVersion | Export-CSV ComputersAndOS.csv -NoTypeInformation -Encoding UTF8