title: Whats the difference between $ExecutionContext.SessionState.Path.CurrentLocation and $pwd in Powershell?
body: <p>When I check my prompt function of Powershell, I've noticed <code>$ExecutionContext.SessionState.Path.CurrentLocation</code> is used to get current path, so what's the diffence between this and <code>$pwd</code>?</p>