PSDT.Location.LocationStackHook.ps1

1
2
3
4
5
6
7
8
9
function Push-LocationToGlobalStack {
    param (
        [string]$Path
    )

    process {
        Push-Location -Path $Path;
    }
}