====== Powershell Useful Commands ====== ==== Split-Path ==== Get Parent folder of a File Variable. PS C:\Users\jle> Split-Path -Path "C:\Users\jle\OneDrive - cirosec GmbH\Dokumente\test.txt" -parent C:\Users\jle\OneDrive - cirosec GmbH\Dokumente https://4sysops.com/archives/split-path-get-childitem-splitting-file-names-in-powershell/ ==== Start-Transcript ==== Erstellt eine .txt Datei mit dem Output von commands. Bis zum Stop-Transcript Befehl.