ONELINER
gwmi win32_computersystem | select Manufacturer,Model | fl
"
EXPLANATION
Using WMI (of course) we can pull a great amount of information about the physical computer equipment. Items such as amount of memory, computer name... many others. We're interested in getting the motherboard model and manufacturer. Lets gather all information, and only display these two items using select. For a full list of what is available, try this: gwmi win32_computersystem | select *
ALIASES
GWMI = Get-WMIObject
0 comments:
Post a Comment