Skip to content

Instantly share code, notes, and snippets.

@subodhuniyal
Created July 6, 2015 18:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save subodhuniyal/bbbeac35c67931f8e9bb to your computer and use it in GitHub Desktop.
Save subodhuniyal/bbbeac35c67931f8e9bb to your computer and use it in GitHub Desktop.
gwmi -Class Win32_OperatingSystem -ComputerName (Read-Host CN ).split(',') | select PSC*, *Major*, Version, @{N="BIOSSerial"; e={(gwmi -Class Win32_Bios).SerialNumber}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment