Author | Friedrich Weinmann (@FredWeinmann) |
Availability | Windows, Linux, macOS |
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.
Performs multisegment path joins.
Performs multisegment path joins.
Join-DbaPath
[-Path] <String>
[-SqlInstance <DbaInstanceParameter>]
[-Child <String[]>]
[<CommonParameters>]
PS C:\> Join-DbaPath -Path 'C:\temp' 'Foo' 'Bar'
Returns 'C:\temp\Foo\Bar' on windows.
Returns 'C:/temp/Foo/Bar' on non-windows.
The basepath to join on.
Alias | |
Required | True |
Pipeline | false |
Default Value |
Optional -- tests to see if destination SQL Server is Linux or Windows
Alias | |
Required | False |
Pipeline | false |
Default Value |
Any number of child paths to add.
Alias | ChildPath |
Required | False |
Pipeline | false |
Default Value |