Skip to content

Instantly share code, notes, and snippets.

@JohnRoos
Last active August 29, 2015 14:24
Show Gist options
  • Save JohnRoos/7ececade3eb0ee965bb2 to your computer and use it in GitHub Desktop.
Save JohnRoos/7ececade3eb0ee965bb2 to your computer and use it in GitHub Desktop.
PowerShell Scripting Games 2015 - July
#Am I the only one using CIM?
gcim Win32_OperatingSystem -cn Win81|ft PSC*,*aj*,V*,@{n='BIOSSerial';e={(gcim win32_Bios -cn $_.csname).SerialNumber}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment