commands

^

Join-DbaPath

Availability Windows, Linux, macOS

 

Synopsis

Performs multisegment path joins.

Description

Performs multisegment path joins.

Syntax

Join-DbaPath
    [-Path] <String>
    [-Child <String[]>]
    [<CommonParameters>]

 

Examples

 

Example: 1
PS C:\> Join-DbaPath -Path 'C:\temp' 'Foo' 'Bar'

Returns 'C:\temp\Foo\Bar' on windows.
Returns 'C:/temp/Foo/Bar' on non-windows.

Required Parameters

-Path

The basepath to join on.

Alias
Required True
Pipeline false
Default Value

Optional Parameters

-Child

Any number of child paths to add.

Alias
Required False
Pipeline false
Default Value

 

Want to see the source code for this command? Check out Join-DbaPath on GitHub.
Want to see the Bill Of Health for this command? Check out Join-DbaPath.