Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 3.0 » Set-Location

Set-Location - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Set-Location

Short description
Sets the current working location to a specified location.

Syntax
Set-Location [[-Path] <String>] [-PassThru] [-UseTransaction] [<CommonParameters>]
Set-Location [-PassThru] [-UseTransaction] -LiteralPath <String> [<CommonParameters>]
Set-Location [-PassThru] [-StackName <String>] [-UseTransaction] [<CommonParameters>]





Description
The Set-Location cmdlet sets the working location to a specified location. That location could be a directory, a sub-di
rectory, a registry location, or any provider path.


You can also use the StackName parameter of the Set-Location cmdlet to make a named location stack the current location
 stack. For more information about location stacks, see the Notes.