I made the adjustments and it works when I simply output the data to the screen. When I export to CSV, however, the extra columns that the windows-based virtual machines have (designated with the "if ($_ -like "w*)" statement) are not exported to the CSV. Any ideas on how to gather these extra columns for select machines into a CSV?
↧