I am trying to launch the Windows Terminal maximized with a specific profile, however:
wt -M
opens the terminal maximized with the default profilewt -p "{profile name}"
opens the terminal with the given profilewt -M -p "{profile name}"
causes an error:What am I doing wrong?
Edit(18-08-20): Was confirmed as a bug on github
As a side note, if you need 2 tabs or splitscreen, this seems to work: wt -p "profile 1" ; -M sptit-pane -p "profile 2"
Edit(30-01-21): Was fixed with this commit and relesed with Windows Terminal v1.5.10271.0
Probably a bug, I didnt look into it further. If you don't mind opening maximized with an extra tab you can do:
wt -p "{profile name}" ; -M