PowerShell tab as Admin

Jul 12, 2008
286
0
Las Vegas, NV
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
Thread starter Title Forum Replies Date
CWBillow TCMD PowerShell Tab elevated Support 6
CWBillow Take Command tab as PowerShell Support 3
CWBillow Powershell tab in TCMD? Support 2
I v16 Spawning a PowerShell tab Support 3
CWBillow TCC and TCMD in Powershell Support 6
Joe Caverly PowerShell=No Support 1
EDerH Powershell call from script Support 24
A Problem with functions @int @decimal and identifying Powershell as a shell. Support 12
Joe Caverly PowerShell Core Support 1
vefatica Powershell ... insert vs overstrike Support 2
Joe Caverly Fixed Displaying Profiles from TCC vs. PowerShell Support 2
Joe Caverly How to use Powershell Profile with PSHELL Support 14
F Powershell call fails with "Scripting Integrator 2016 (PowerShell)" license error Support 9
CWBillow PowerShell Tabs in TCMD Support 11
vefatica "which" in PowerShell invokes TCC? Support 3
B Powershell scripts not opening in notepad-TC main suspect Support 2
electrotype Powershell in Take Command - Customizing colors? Support 4
C Attaching PowerShell changes its colors and makes it hard to read Support 15
vefatica Tab (^t) in @FILEWRITE's text Support 2
D TCC tab detaching & restarting Support 3
Joe Caverly Changing the TAB key Support 10
fpefpe bash.exe as a tab Support 0
C How to? Mouse support in WSL when in Take Command Tab Support 2
P How to enable \ with tab completion Support 4
Joe Caverly DrawVLine results different in TCMD tab and detached TCC Support 11
Joe Caverly Tab from clipboard Support 6
Joe Caverly Clone a TCC Tab Support 9
R New Cloud Storage Tab in TCC options causing problems Support 0
vefatica TYPE resets console tab settings Support 14
Fross Tab Question Support 6
CWBillow TCMD Tab Defs Support 4
L WAD In console, tabs are rendered with non-uniform tab-stop spacing Support 16
Emilio III TCMD Tab titles on Insider Windows Support 2
P Run as Admin tab in non-elevated Take Command session? Support 9
Phileosophos Startup tab layout Support 2
M How to? How to set a default TITLE for newly opened tab? Support 2
R How to? Change TCMD tab font size in window menu Support 3
D Get tab position and size Support 6
C Running PowerShell_ISE in a Tab Support 7
D How cut in TCC tab window Support 5
C How to? run a BTM in elevated, inv tcc tab window Support 9
D Take Command tab only uses half of window Support 1
rps Tab clone problem Support 2
C MONITOR commands alter tab title when triggered Support 0
D Tab completion differences with cmd.exe Support 3
H lua Causes Take Command Tab to Exit Support 5
vefatica Tab completion? Support 4
D How to? How to show variables expanded in the log tab Support 3
I tab completion with directory commands Support 7
R Fixed v17.0.54 Tab->COMSPEC Dialog Box Issue Support 2

Similar threads