One-liners
wmic os get buildnumber, version, caption, countrycode, csname, currenttimezone, description, installdate, lastbootuptime, localdatetime, muilanguages, name, numberofusers, osarchitecture /format:listwmic computersystem get bootupstate, caption, currenttimezone, description, dnshostname, domain, domainrole, hypervisorpresent, initialloadinfo, installdate, name, partofdomain, roles, username, workgroup /format:listLast updated