Hi Guys,
I have followng question. I need to export to CSV list of the open shares in user-computer, but it export to CSV some weird values instead of correct information.
I'm using following command:
net view \\User-computer | export-csv C:\data.csv
when I use followng command it export proper information to txt file.
net view \\User-computer > C:\data.txt
The issue is, I need to have a data in csv file not txt. What it wrong with my export to csv.? Could you advise ?