Welcome!

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

SignUp Now!

Utilize TCC from PowerShell

Aug
1,933
71
I have added the following function to my PowerShell Microsoft.PowerShell_profile.ps1 file;

Code:
function tcc
{
  & "c:\program files\jpsoft\tcmd16\tcc.exe" /I /Q /C $args

}

Utilizing TCC from PowerShell is now much easier. For example, if I want to view my PowerShell Profile using the TCC Viewer, I would;

Code:
tcc view $profile

If I wanted to use the TCC List, I would;

Code:
tcc list $profile

If I wanted to know the name of the TCC parent process, I would;

Code:
tcc echo %_parent

Joe
 
  • Like
Reactions: Ugo
Back
Top