Set-Location

Display the current working directory or move to a different directory. Note: This command can only be used through PowerShell. More information: https://learn.microsoft.com/powershell/module/microsoft.powershell.management/set-location.

Set-Location {{path\to\directory}}

Set-Location {{C}}:{{path\to\directory}}

Set-Location {{path\to\directory}} -PassThru

Set-Location ..

Set-Location ~

Set-Location {{-|+}}

Set-Location \