How do I use Join-Path to combine more than two strings into a file path? November 21, 2022 by Tarik You can use the .NET Path class: [IO.Path]::Combine('C:\', 'Foo', 'Bar')