I'm trying to make a bat file script that appends the information of a csv to another already existing csv file. I want to use the import-csv command, but I keep getting the error that says:
'import-csv' is not recognized as an internal or external command, operable program or batch file.
I was using Powershell 5.1, so I tried downloading and using Powershell Core 6. That isn't working either. Am I missing a library somewhere?
my code:
import-csv "tinyTesterB.csv"
pause
powershell.execmdlet insidecmd.exe