Additional details on using the "commandline" setting in user-docs #4856

Open
opened 2026-01-30 23:58:16 +00:00 by claunia · 0 comments
Owner

Originally created by @carlos-zamora on GitHub (Nov 7, 2019).

At Ignite, there's been some interest in a few specific scenarios on how to set up the terminal. @cinnamon-msft demo-ed that you can set the "commandline" setting to a .bat script. In my demo, I was able to set it to a powershell script.

It would be nice to have a blogpost or doc describing a few scenarios of how to do this and how this can be useful. Particularly, consider the following:

  • connect to a pre-saved SSH session
  • set up a dev/test environment with some pre-defined variables

These docs should be pretty easy to make. Just a matter of having something to share with the community so that they can wrap their heads around how Windows Terminal profiles can expand beyond "cmd", "powershell", and "wsl distros".

Feel free to add more ideas below or link resources that have done something like this :)

Originally created by @carlos-zamora on GitHub (Nov 7, 2019). At Ignite, there's been some interest in a few specific scenarios on how to set up the terminal. @cinnamon-msft demo-ed that you can set the "commandline" setting to a `.bat` script. In my demo, I was able to set it to a powershell script. It would be nice to have a blogpost or doc describing a few scenarios of how to do this and how this can be useful. Particularly, consider the following: - [ ] connect to a pre-saved SSH session - [ ] set up a dev/test environment with some pre-defined variables These docs should be pretty easy to make. Just a matter of having something to share with the community so that they can wrap their heads around how Windows Terminal profiles can expand beyond "cmd", "powershell", and "wsl distros". Feel free to add more ideas below or link resources that have done something like this :)
claunia added the Help WantedArea-SettingsNeeds-Tag-FixProduct-TerminalIssue-Docs labels 2026-01-30 23:58:16 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#4856