Bester Weg, um die Dateierweiterung in PowerShell zu ändern

$path = 'C:\temp\ImportantFile.txt'
Copy-Item -Path $path –Destination ([io.path]::ChangeExtension($path, '.bak')) -Verbose
Doubtful Dogfish