I have a PowerShell shortcut in my Open Shell menu, and I configured a specific Windows Terminal profile with custom appearance settings. However, clicking the shortcut opens a generic PowerShell session instead of the profile I selected. If I open the terminal's profile menu and choose that profile manually, it loads the expected settings and administrator configuration. How can I make the shortcut launch that profile automatically?
3 Answers
Make sure you distinguish the Terminal profile from the PowerShell profile script. `$PROFILE` points to a PowerShell script that runs when a session starts; it controls things like functions, aliases, and startup commands. Terminal’s JSON settings control the profile’s font, colors, starting directory, elevation behavior, and other window settings. If you want PowerShell startup customizations to apply across different hosts, check `$PROFILE.CurrentUserAllHosts` and place the shared commands there.
You can launch a particular profile from a shortcut or command by passing its name to Windows Terminal. For example, `wt.exe -p "PowerShell-Admin"` opens the profile named `PowerShell-Admin`. You can also configure that profile to run as administrator automatically, or launch it elevated with the appropriate Windows shortcut settings. If you only need elevation occasionally, Ctrl+Shift-clicking a profile in the Terminal menu will usually open it as administrator.
The profile you configured belongs to Windows Terminal, not PowerShell itself. PowerShell is the shell running inside the terminal, while Windows Terminal handles the window, tabs, colors, and profile selection. Your shortcut is probably launching PowerShell directly, so Terminal starts it using the default behavior instead of the profile you intended. Replace the shortcut with a Windows Terminal shortcut, or edit it to launch `wt.exe` without arguments so Terminal uses its configured default profile. If you want a specific profile every time, the shortcut can launch `wt.exe` with that profile name explicitly.

In other words, PowerShell is comparable to bash, while Windows Terminal is the terminal application displaying and hosting it. The appearance settings are controlled by the latter, not by the PowerShell executable.