Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@sellynx
Created September 7, 2015 13:11
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 sellynx/c386dc4356afa5042e98 to your computer and use it in GitHub Desktop.
Save sellynx/c386dc4356afa5042e98 to your computer and use it in GitHub Desktop.
2015-September Scripting Games Puzzle
Import-Csv E:\INPUT.csv | Select machinename,@{name="OSVERSION";expression={(GWmi -Class win32_operatingsystem -computername $_.machinename).caption}} | Export-Csv E:\OUTPUT.csv -encoding UTF8 -NoTypeInformation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment