Join-String is a new cmdlet in PowerShell v6.2 preview 3. Join-String enables you to use the pipeline to join strings.
We’ve had the –join operator for a long time:
PS> 1..3 -join ','
1,2,3
As an alternative you could do
PS> 1..3 | Join-String… Read the full text.