Combines path elements into a single path.
Snap-In: Microsoft.PowerShell.Management
Syntax:
Join-Path
[-Path] <String[]> [-ChildPath] <String> [-Resolve] [-Credential <PSCredential>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>]
Description:
Not all providers recognize standard pathname delimiters such as "\". With the combine-path Cmdlet, multiple paths can be converted to a pathname object that is universally recognized by all providers.