Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 2.0 » Pop-Location

Pop-Location - Powershell 2.0 CmdLet

Microsoft Windows PowerShell is a command-line shell and scripting tool based on the Microsoft .NET Framework. It is designed for system administrators, engineers and developers to control and automate the administration of Windows and applications.

More than hundred command-line tools (so called "cmdlets") can be used to perform system administration tasks and Windows Management Instrumentation (WMI). These cmdlets are easy to use, with standard naming conventions and common parameters, and standard tools for piping, sorting, filtering, and formatting data and objects.

Pop-Location


Short description
Changes the current location to the location most recently pushed onto the stack. You can pop the location from the
 default stack or from a stack that you create by using the Push-Location cmdlet.

Syntax
Pop-Location [-PassThru] [-StackName <string>] [-UseTransaction] [<CommonParameters>]

Description
The Pop-Location cmdlet changes the current location to the location most recently pushed onto the stack by using t
he Push-Location cmdlet. You can pop a location from the default stack or from a stack that you create by using a P
ush-Location command.