What is the benefit of using Join-Path to create a file path instead of just doing something like the following?
$Folder\$FileName
What is the benefit of using Join-Path to create a file path instead of just doing something like the following?
$Folder\$FileName
Join-Path benefits:
Foreach-Object intermediary