PSMatrix/private/New-MatrixUrl.ps1

11 lines
209 B
PowerShell

function New-MatrixUrl {
param(
[Parameter(Mandatory)]
[string]$ServerUrl,
[Parameter(Mandatory)]
[string]$ApiPath
)
return $ServerUrl.Trim("/") + "/" + $ApiPath
}