I had to create a new test environment and to make it a true representation of the production one I had to install all the service packs, hot fixes, cumulative updates, etc. as in production. So I decided to collect all essential information. And the simplest way (for me) was to use WMIC. To collect information about OS: WMIC OS GET BuildNumber, Caption, CSDVersion, CSName, OSArchitecture, OSLanguage, ServicePackMajorVersion, ServicePackMinorVersion, SystemDirectory, TotalVisibleMemorySize, Version, WindowsDirectory about all installed software (and be patient because it takes a couple of minutes to complete) WMIC PRODUCT GET Caption,Version About Windows domains WMIC NTDOMAIN GET Caption, ClientSiteName, DCSiteName, DnsForestName, DomainCOntrollerAddress, DomainControllerName, DOmainName about disks WMIC DISKDRIVE GET BytesPerSector, Name, SerialNumber, Signature,Size about partitions WMIC PARTITION GET BlockSize,Bootable,Name,Size,Star...