- Aug
- 2,152
- 92
I have added the following function to my PowerShell Microsoft.PowerShell_profile.ps1 file;
Utilizing TCC from PowerShell is now much easier. For example, if I want to view my PowerShell Profile using the TCC Viewer, I would;
If I wanted to use the TCC List, I would;
If I wanted to know the name of the TCC parent process, I would;
Joe
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