Skip to content

Instantly share code, notes, and snippets.

@artisticcheese
Created July 4, 2015 14:23
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 artisticcheese/28094a3eb4b36c07e464 to your computer and use it in GitHub Desktop.
Save artisticcheese/28094a3eb4b36c07e464 to your computer and use it in GitHub Desktop.
gwmi Win32_BIOS -ov a | out-null; gwmi Win32_OperatingSystem -ov b | select PSComputerName, @{n="ServicePackMajorVersion";e={$b.ServicePackMajorVersion}}, @{n="Version";E={$b.Version}}, @{N="BIOS Serial";E={$a.SerialNumber}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment