internal/functions/Join-SomePath.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
function Join-SomePath {
    <#
    An internal command that does not require the local path to exist
 
    Boo, this does not work, but keeping it for future ref.
       #>

    [CmdletBinding()]
    param (
        [string]$Path,
        [string]$ChildPath
    )
    process {
        [IO.Path]::Combine($Path, $ChildPath)
    }
}