Instead, do not combine interpolated string with the
Either:
-f
operator.
Either:
- Use interpolated string only:
"$($e.FileName) - $($e.FileProgress.ToString('P0'))"
- or
-f
operator only:"{0} - {1:P0}" -f $e.FileName, $e.FileProgress
- or just use concatenation:
$e.FileName + " - " + $e.FileProgress.ToString('P0')