2 Pluspunkte 0 Minuspunkte
Ich habe eine CSV Datei aus Netbox exportiert, die hat aber "," statt ";" als Trennzeichen. Wie kann ich mit Powershell alle "," zu ";" machen?
von  

1 Antwort

0 Pluspunkte 0 Minuspunkte

Mit dem Cmdlet Get-Content und der Funktion Replace.

(Get-Content "file.csv").Replace(',', ';') | Set-Content "file.csv"
von (396 Punkte)