Example
Pop-Location	
Push-Location
NAME
    Pop-Location
SYNOPSIS
    Changes the current location to the location most recently pushed onto the stac
    k. You can pop the location from the default stack or from a stack that you cre
    ate by using the Push-Location cmdlet.
SYNTAX
    Pop-Location [-PassThru] [-StackName ] [-UseTransaction] []
DESCRIPTION
    The Pop-Location cmdlet changes the current location to the location most recen
    tly pushed onto the stack by using the Push-Location cmdlet. You can pop a loca
    tion from the default stack or from a stack that you create by using a Push-Loc
    ation command.
RELATED LINKS
    Online version: http://go.microsoft.com/fwlink/?LinkID=113369
    about_Providers
    Push-Location
    Set-Location
    Get-Location
REMARKS
    To see the examples, type: "get-help Pop-Location -examples".
    For more information, type: "get-help Pop-Location -detailed".
    For technical information, type: "get-help Pop-Location -full".
----------------
NAME
    Push-Location
SYNOPSIS
    Adds the current location to the top of a list of locations (a "stack").
SYNTAX
    Push-Location [[-LiteralPath] ] [-PassThru] [-StackName ] [-Use
    Transaction] []
    Push-Location [[-Path] ] [-PassThru] [-StackName ] [-UseTransac
    tion] []
DESCRIPTION
    The Push-Location cmdlet adds ("pushes") the current location to the top of a l
    ist of locations, called a "stack." You can push the current location onto a de
    fault stack or onto a stack that you create. If you specify a path, Push-Locati
    on pushes the current location onto the stack and then changes the current loca
    tion to the location specified by the path. You cannot push a location onto the
     stack unless it is the current location.
RELATED LINKS
    Online version: http://go.microsoft.com/fwlink/?LinkID=113370
    about_Providers
    Pop-Location
    Set-Location
    Get-Location
REMARKS
    To see the examples, type: "get-help Push-Location -examples".
    For more information, type: "get-help Push-Location -detailed".
    For technical information, type: "get-help Push-Location -full".