Created
September 15, 2015 14:52
-
-
Save KirillPashkov/d3b50f230ee72da1ca94 to your computer and use it in GitHub Desktop.
PSSGSep2015
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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