$path = 'C: empImportantFile.txt' Copy-Item -Path $path –Destination ([io.path]::ChangeExtension($path, '.bak')) -Verbose