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

Closed
opened 2026-01-30 23:58:23 +00:00 by claunia · 3 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:23 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Nov 8, 2019):

There's some documentation we just added in #3353, but I agree, it could definitely be better.
Other thoughts:

  • Visual Studio cmd/powershell environments
@zadjii-msft commented on GitHub (Nov 8, 2019): There's some documentation we just added in #3353, but I agree, it could definitely be better. Other thoughts: * [ ] Visual Studio cmd/powershell environments
Author
Owner

@skyline75489 commented on GitHub (Mar 27, 2020):

#5141 and #5142 are somewhat related to this. I'll try to come up with some more complicated scenarios later.

@skyline75489 commented on GitHub (Mar 27, 2020): #5141 and #5142 are somewhat related to this. I'll try to come up with some more complicated scenarios later.
Author
Owner

@cinnamon-msft commented on GitHub (Jun 10, 2020):

I've duplicated this issue on the docs repo, so I will close this one out.

https://github.com/MicrosoftDocs/terminal/issues/56

@cinnamon-msft commented on GitHub (Jun 10, 2020): I've duplicated this issue on the docs repo, so I will close this one out. https://github.com/MicrosoftDocs/terminal/issues/56
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#4859