Say for example I frequently log in to MySQL.
I want a default PowerShell profile which creates a new tab and does nothing.
But I want another one called "MySQL" which creates a new table and runs the mysql
command.
This is a simplified example of course.
I've got as far as doing this in a batch file:
"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -noexit -noprofile -f "C:\Users\MyName\profiles\mysql_profile.ps1"
which does exactly what I want but in a new window. How can I make that same thing happen, with a new tab, by choosing a custom profile from the dropdown in PowerShell?