Sets the current working location to a specified location.
Snap-In: Microsoft.PowerShell.Management
Syntax:
Set-Location [
[-Path] <String>] [-PassThru] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>]
Set-Location
[-PassThru] [-StackName <String>] [-Verbose] [-Debug] [-ErrorAction <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer <Int32>]
Description:
The set-location Cmdlet sets the working location to a specified location. That location could be a directory, sub-directory, registry location, or another location stack.