SyntaxFix
Write A Post
Hire A Developer
Questions
The most succinct way to do this is:
Get-WmiObject -Class win32_computersystem -Property *