pushd (split-path $myInvocation.MyCommand.Path);

Nοt reasonably аѕ simple οr memorable аѕ thе batch file version sadly…


Check іt out:Cup(Of T)