{"id":27159157,"url":"https://github.com/sondernextdoor/windowshardwareinfo","last_synced_at":"2025-04-08T22:49:53.799Z","repository":{"id":49340772,"uuid":"380756934","full_name":"sondernextdoor/WindowsHardwareInfo","owner":"sondernextdoor","description":"A project written in C++ to get hardware info on a Windows PC. Interfaces with the Windows Management Instrumentation (WMI) service to query hardware info of interest and provides a basic command line interface.","archived":false,"fork":false,"pushed_at":"2024-04-10T22:36:07.000Z","size":1154,"stargazers_count":101,"open_issues_count":2,"forks_count":45,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-04-11T01:51:16.396Z","etag":null,"topics":["command","cpp","cpu","disk","gpu","hardware","hwid","info","line","smbios","windows","wmi"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sondernextdoor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-06-27T14:12:08.000Z","updated_at":"2024-04-08T09:10:35.000Z","dependencies_parsed_at":"2024-03-15T03:25:51.540Z","dependency_job_id":"7ba35d18-5493-46d4-8412-a19c33748753","html_url":"https://github.com/sondernextdoor/WindowsHardwareInfo","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sondernextdoor%2FWindowsHardwareInfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sondernextdoor%2FWindowsHardwareInfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sondernextdoor%2FWindowsHardwareInfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sondernextdoor%2FWindowsHardwareInfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sondernextdoor","download_url":"https://codeload.github.com/sondernextdoor/WindowsHardwareInfo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247941702,"owners_count":21022037,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["command","cpp","cpu","disk","gpu","hardware","hwid","info","line","smbios","windows","wmi"],"created_at":"2025-04-08T22:49:52.907Z","updated_at":"2025-04-08T22:49:53.786Z","avatar_url":"https://github.com/sondernextdoor.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Windows-Hardware-Info\nA project written in C++ to get hardware info on a Windows PC. Interfaces with the Windows Management Instrumentation (WMI) service to query hardware info of interest and provides a basic command line interface. \n\nRetrieves the following:\n\nDisks\n-------------\n\nSerial Number\n\nModel\n\nInterface Type\n\nBus Type\n\nDrive Letter\n\nSize\n\nFree Space\n\nMedia Type\n\nIsBootDrive \n\nVolumes:\n  * Name\n  * Serial Number\n  * Size\n  * Free Space\n  * Volume Letter\n\n\nSystem Management BIOS (SMBIOS)\n-------------\nSerial Number\n\nManufacturer\n\nProduct\n\nVersion\n\n\nGPUs\n-------------\nName\n\nDriver Version\n\nMemory\n\nResolution\n\nRefresh Rate\n\n\nCPU\n-------------\nProcessor Id\n\nManufacturer\n\nName\n\nNumber of Cores\n\nNumber of Logical Processors\n\n\nNetwork Adapters\n-------------\nName\n\nMAC Address\n\n\nSystem\n------------\nName\n\nIsHypervisorPresent\n\nOS Version\n\nOS Name\n\nOS Architecture\n\nOS SerialNumber\n\n\nPhysical Memory\n-------------\nPart Number\n\n\nRegistry\n-------------\nComputer Hardware Id\n\n\nCommand Line\n-------------\nThe command line interface is independent from the hardware logic and is only used to demonstrate functionality. All relevant hardware logic is in hwid.h\n\nValid Commands:\n\n\"disk\" - prints all disk info\n\n\"smbios\" - prints all SMBIOS info\n\n\"gpu\" - prints all GPU info\n\n\"cpu\" - prints all CPU info\n\n\"network\" - prints all network adapter info\n\n\"system\" - prints all system info\n\n\"physicalmemory\" - prints all physical memory info\n\n\"registry\" - prints all registry info\n\n\"all\" - prints all info\n\n\"help\" - opens this webpage on the default browser\n\n\"exit\" - exits the program\n\n\nEach of the above commands (except \"all\", \"help\" and \"exit\") can be used to retrieve fields from the hardware component they specify. To do so, the \"get\" keyword must follow one of the above commands. Valid field(s) should be specified after \"get\"\n\nFor example, \"disk get serialnumber\" would retrieve the disk serial number(s), while \"disk get serialnumber, model\" would retrieve the disk serial number(s), as well as the model(s).\n\nValid fields are as follows:\n\nDisk:\n\n`serialnumber,\nmodel,\ninterface,\nbustype,\ndriveletter,\nsize,\nfreespace,\nmediatype,\nisbootdrive,\nvolumes`\n\n\nSMBIOS:\n\n`serialnumber,\nmanufacturer,\nproduct,\nversion`\n\n\nGPU:\n\n`name,\ndriverversion,\nmemory,\nresolution,\nrefreshrate`\n\n\nCPU:\n\n`processorid,\nmanufacturer,\nname,\ncores,\nthreads`\n\n\nNetwork:\n\n`name,\nmac`\n\n\nSystem:\n\n`name,\nishypervisorpresent,\nosversion,\nostitle,\nosarchitecture,\nosserialnumber`\n\n\nPhysical Memory:\n\n`partnumber`\n\n\nRegistry:\n\n`computerhardwareid`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsondernextdoor%2Fwindowshardwareinfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsondernextdoor%2Fwindowshardwareinfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsondernextdoor%2Fwindowshardwareinfo/lists"}