Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

How do I make TCC use pwsh.exe instead of powershell.exe?

May
24
0
pshell and @pshell[] both run %systemroot%\system32\windowspowershell\v1.0\powershell.exe.

Is there a way to make TCC (30.00.20.x64 on Win11 10.0.22621.2134) look for pwsh.exe?

Thanks,
Felix.
 
Go to Options on the menu then select the left icon take command configure.
Select Tabs.
Select a new tab and choose app custom:

For title: PowerShell Core
Command: C:\Program Files\PowerShell\7\pwsh.exe
Directory, you can select where you store your PowerShell scripts.

Then click okay.


Restart and you will have a tab for PowerShell Core (PWSH)
 

Similar threads

Back
Top