Can you explain what is the difference between
$attachment = [String]::Concat($workingDir,"", $fileName)
and
$attachment = [IO.Path]::Combine($workingDir, $fileName)
when it comes to combining paths in Powershell?
See Question&Answers more detail:os