Last active
August 29, 2015 14:24
-
-
Save MickyBalladelli/1bcee6040f560dfca997 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gwmi CIM_OperatingSystem -cn ((read-host ?)-split ',')|select psc*,s*j*,v*,@{n='BIOSSerial';e={$_.serialnumber}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example output:
?: localhost,localhost
PSComputerName ServicePackMajorVersion Version BIOSSerial
CORSAIR-PC 0 10.0.10162 00362-10000-06502-AA945
CORSAIR-PC 0 10.0.10162 00362-10000-06502-AA945