Skip to content

Instantly share code, notes, and snippets.

@shimar
Created June 2, 2015 02:22
Show Gist options
  • Save shimar/2063636f89dd8ce252aa to your computer and use it in GitHub Desktop.
Save shimar/2063636f89dd8ce252aa to your computer and use it in GitHub Desktop.
Getting OS caption and Architecture on PowerShell.
# get OS caption
wmic os get caption
# get OS Architecture
wmic os get osarchitecture
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment