Skip to content

Instantly share code, notes, and snippets.

@manualbashing
Last active June 7, 2019 11:02
Show Gist options
  • Save manualbashing/35d519603e89c1454068 to your computer and use it in GitHub Desktop.
Save manualbashing/35d519603e89c1454068 to your computer and use it in GitHub Desktop.
Use WMI to get current Windows version
(gwmi Win32_Operatingsystem).Caption
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment