Quantcast
Viewing all articles
Browse latest Browse all 21975

Export-CSV does not place the data into seperate columns

Hi Gurus,

I am trying to create an inventory from my environement. If I run the following command it doesn't save the data into seperate columns. As a result I don't have the option to filter the information. My command is as follows:

Get-ADComputer -Filter * -Property * | Select-Object Name,DNSHostName,OperatingSystem,LastLogonDate,OperatingSystemVersion | Export-CSV AllWindows.csv -NoTypeInformation -Encoding UTF8

I would really appreciate your help.

Kinds regards,

Cengiz Kuskaya


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>