The pushd command saves the current working directory in memory so it can be returned to at any time, optionally changing to a new directory. The popd command returns to the path at the top of the directory stack.
In Windows PowerShell, pushd is a predefined command alias for the Push-LocationCmdlet and popd is a predefined command alias for the Pop-Location Cmdlet. Both serve basically the same purpose.