I want to create a shortcut to powershell where it loads another profile instead of loading the default profile. How would you go about that?
I could do something like:
powershell.exe -NoProfile -NoExit -Command . ~/profile2.ps1
but it feels somewhat clunky.
So I’m looking for some advice on how to do stuff like this. How do you solve this?
submitted by /u/bathoodie
[link] [comments]
The post Shortcut to powershell with specific profile appeared first on How to Code .NET.