i have a text file, and i want to count employees attendance working hours and present days

Viewed 35

This is my attendance log file in txt format.

             Name No.             Date/Time

    Zahoor Ahmed 112  9/13/2022 8:29:56 AM
    Zahoor Ahmed 112  9/13/2022 5:41:20 PM
    Zahoor Ahmed 112  9/15/2022 8:36:21 AM
    Zahoor Ahmed 112  9/15/2022 2:07:02 PM
    Zahoor Ahmed 112  9/15/2022 5:32:03 PM
    Zahoor Ahmed 112  9/16/2022 8:48:45 AM
    Zahoor Ahmed 112 9/16/2022 10:29:20 AM
    Zahoor Ahmed 112  9/16/2022 2:04:05 PM
    Zahoor Ahmed 112  9/16/2022 2:04:52 PM
    Zahoor Ahmed 112  9/16/2022 4:15:14 PM
    Zahoor Ahmed 112  9/16/2022 5:12:43 PM
    Zahoor Ahmed 112  9/16/2022 7:00:02 PM
    Zahoor Ahmed 112  9/16/2022 7:00:04 PM
         
      

This result i want in csv format

CSV File

I want to do this task with PowerShell script, any help will be highly appreciated.

I tried this code but did not got results..

0 Answers
Related