Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
gwmi CIM_OperatingSystem -cn ((read-host ?)-split ',')|select psc*,s*j*,v*,@{n='BIOSSerial';e={$_.serialnumber}}
@MickyBalladelli

This comment has been minimized.

Copy link
Owner Author

MickyBalladelli commented Jul 5, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.