Utilize TCC from PowerShell

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
#1
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
 
Likes: Ugo