I feel that there should be a way to do this but I am drawing blanks at the moment and could really use some help. I am trying to integrate the new Windows Terminal into my daily personal routines and so far am really liking it. I watched one of the Channel 9 videos that really showed off some of the key features in a nice way:
This got me thinking; it would be nice if I could setup different PowerShell profiles in the Windows Terminal to support different things; one for AD administration, another for SQL Server DBA work, maybe one with standard variable names set for a test environment vs another with those variables set for a production environment.
While this seems easy enough in theory and I can setup different Terminal profiles they all seem to be calling the same Windows PowerShell shells in the background, so I am just getting the same profile loaded regardless of the Windows Terminal profile. I was hoping for a way to be able to load different Windows PowerShell profiles upon getting called. Is this possible? Am I missing something very basic or is what I am asking for just not possible without calling an entirely separate environment (like PoSh 5 vs PoSh 7, vs Az Shell)?