Getting the current script directory in PowerShell

One thing to remember when developing PowerShell scripts is that your current value in $PWD is the process’ current directory not the one where the script was stored. In my desire to break out a few functions into a common file in order to load them “dot-sourced” (so that the functions become global) I realised … More Getting the current script directory in PowerShell