I have Details.csv file which the content as below. It is lengthy but I'm making it 4 rows with top row is header. | is delimiter
EmployeeID|"name"|"address"
8004956782|"Čantona"|"Townstend Street"
8005884384|"Sælanto"|"Kentucky Street"
8004485843|"Ricardo"|"Chow Lin"
I want to get an output to a new Scripts.txt file with content as below.
update sTVEmpID='b8004956782' sTVGhasd='Čantona' sTVplace='Townstend Street';
update sTVEmpID='b8005884384' sTVGhasd='Sælanto' sTVplace='Kentucky Street';
update sTVEmpID='b8004485843' sTVGhasd='Ricardo' sTVplace='TChow Lin';
Please help to create Powershell Script to do this task because i'm doing this manually now and it is taking up a lot of time. I couldn't find any solution for this online.
EmployeeID|"name"|"address"
8004956782|"Čantona"|"Townstend Street"
8005884384|"Sælanto"|"Kentucky Street"
8004485843|"Ricardo"|"Chow Lin"
I want to get an output to a new Scripts.txt file with content as below.
update sTVEmpID='b8004956782' sTVGhasd='Čantona' sTVplace='Townstend Street';
update sTVEmpID='b8005884384' sTVGhasd='Sælanto' sTVplace='Kentucky Street';
update sTVEmpID='b8004485843' sTVGhasd='Ricardo' sTVplace='TChow Lin';
Please help to create Powershell Script to do this task because i'm doing this manually now and it is taking up a lot of time. I couldn't find any solution for this online.