PowerTip: Set Default Location Stack with PowerShell


Summary: Use Windows PowerShell to set your default location stack.

Hey, Scripting Guy! Question How can I use Windows PowerShell to set the default for some named location stacks that I created?

Hey, Scripting Guy! Answer Use the Set-Location cmdlet and specify the stack name, for example:

Set-Location -StackName REG

Comments (1)

  1. Ed says:

    I usually look at your PowerTips and immediately categorize them as useful of not for me but this one has me puzzled because I have no clue what the term default location stack means and why I’d want to set it! 🙂 How about a little more background?

Skip to main content