Skip To Content
PowerShell Gallery
Toggle navigation
Packages
Publish
Documentation
Sign in
Search PowerShell packages:
VeeamSPC
0.1.2.0
Private/Join-Url.ps1
function
Join-Url
{
param
(
[
parameter
(
Mandatory
=
$True
)
]
[string]
$Path
,
[
parameter
(
Mandatory
=
$True
)
]
[string]
$ChildPath
)
"$($Path.TrimEnd('/'))/$($ChildPath.TrimStart('/'))"
}