I have following output from some PowerShell Cmdlet, as below
0 server-1 Content Damaged client 12/06/2013 08:00:41
123 server-1 Content Damaged client 12/07/2013 08:00:33
0 server-1 Content Damaged client 12/08/2013 08:00:32
234 server-1 Content Damaged client 12/09/2013 08:00:34
0 server-1 Content Damaged client 12/09/2013 16:09:41
70 server-1 Content Damaged client 12/10/2013 08:00:33
0 server-1 Content Damaged client 12/11/2013 08:00:31
I'm able to append the above output into a text file.
When im trying to Import above ouput in a new CSV file(using Import-Csv), all infomation coming under a single cell in a each line,but i need 7 cells in each line !!! please somebody guide me here.
And also please tell me, How to cound a line which is starting from 0 using PowerShell ?