I'm running Windows 11. I have set my default Windows Terminal size to 80x32, and I use this default terminal size for the launched windows for almost all programs that I invoke.
However, I have one and only one case where I want to launch a command in a smaller window: 40x10.
Given that in their infinite wisdom (ha ha!), Microsoft started disallowing distinct terminal window sizes per profile for Windows Terminal, how can I create a shortcut that will launch this one and only command in the smaller 40x10 window, while continuing to use the default 80x32 size for all other terminal windows that get launched?
And I don't want to have to use C# to do this. I'd like to use a Windows 11 utility such as Terminal, Conhost, etc. in order to allow this to occur.
Is there any way to accomplish this short of reverting to an older version of Windows?
Thank you very much in advance.
UPDATE: the command I want to launch in the small window is simply some code in a PowerShell script which writes its output to the terminal.