I often use the below type of loop in batch files.
for /f %%a in (file.csv) do echo %%a
can anyone help me converting this into a powershell script?
I have googled but not had much luck, i am new to powershell and need help with this is anyone can offer it? It would be much appreciated.