in CMD use wmic can do many things. in powershell gwmi is similar, here is some examples (include copy content) wmic volume where(drivetype=3) get name,label wmic bios get name,smbiosbiosversion,manufacturer wmic computersystem get Name,workgroup,NumberOfProcessors...