Kwampirs collects OS version information such as registered owner details, manufacturer details, processor type, available storage, installed patches, hostname, version info, system date, and other system information by using the commands "systeminfo", "net config workstation", "hostname", "ver", "set", and "date /t".