The Windows Terminal is a terminal application developed for Windows 10 for users of command-line tools and shells like Command Prompt, PowerShell, and WSL.
Locate the settings.json in "%LocalAppData%\Packages\Microsoft.WindowsTerminal_*\LocalState\". Add a custom profile with the payload in the "commandLine" parameter. Add the custom profile GUID to the "defaultProfile" value. Add the value "startOnUserLogin": true
Usecase: Establishing persistence on a Windows host