Welcome!

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

SignUp Now!

PowerShell tab as Admin

Jul
304
0
I have my system set up to have PowerShell set to run as Admin if called.

I do this with a command in my startup

powershell.exe -File C:\pssetpol.ps1

Where pssetpol.ps1 then executes

Set-ExecutionPolicy -Scope CurrentUser RemoteSigned

This works fine for direct P-Shell execution form a shortcut. But it isn't carrying over to my PowerShell tab in TCMD. There the presence of elevated rights (Admin) is false.

What do I do to the P-Shell tab in TCMD to have it start elevated?
 

Similar threads

Back
Top