Im executing a Powershell Script within a .bat file. To make it better readable i want to separate the command with new line. In powershell it is the Character ´. That seems not to be working in a batchfile. I want to make the following:
powershell -Executionpolicy ByPass -NoProfile -Command "Import-Csv .\outfit-verfuegbarkeit-temp.csv -delimiter ';' | ForEach-Object {if ($_.Inventory -like 'New') {$_.Inventory = '0'} $_} | Export-Csv .\outfit-verfuegbarkeit-temp2.csv -delimiter ';' -NoTypeInformation"
Does anyone have an idea what character it is to ignore the new line?
Regards Hubertus