Skip to content

Instantly share code, notes, and snippets.

@KirillPashkov
Created September 15, 2015 14:52
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 KirillPashkov/d3b50f230ee72da1ca94 to your computer and use it in GitHub Desktop.
Save KirillPashkov/d3b50f230ee72da1ca94 to your computer and use it in GitHub Desktop.
PSSGSep2015
ipcsv file.csv|%{gwmi win32_operatingsystem -co $_.MACHINENAME|select @{l='cname';e={$_.__SERVER}},@{l='os';e={$_.Caption}}}|epcsv Output.csv -not
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment