If PowerShell can call a DLL, you can use the TakeCommandIPC function in takecmd.dll. If not, there isn't any prepackaged way to do this, though the IPC is through a named pipe, so it wouldn't be too hard to add it.
The TakeCommandIPC function allows plugins to communicate with the controlling Take Command instance. The syntax is:
DLLExports int TakeCommandIPC( LPTSTR pszCommand, LPTSTR pszArguments );
The supported commands are:
HWND
Returns the Take Command window handle in pszArguments
TCTAB
Returns 1 if the process ID in pszArguments is running in a TC window
TCTABS
Returns the number of Take Command tab windows
HVIEW
Returns the handle of the active tab window in pszArguments
HELP
Displays the Take Command help for the topic in pszArguments
USAGE
Display the usage message in pszArguments in the status bar. The first line (up to the first CR) is displayed in the
status bar; the rest is displayed in the tooltip if you hover the mouse over the status bar.
STATUSBAR
Display the message in pszArguments in the status bar
TCTOOLBAR
Update the Take Command tab toolbar with pszArguments
TCFILTER
Return the selected filter in the list view in pszArguments
TCFILTER_CMD
Set the selected filter in the list view to the value in pszArguments
CDD
Change the folder and list view to the directory in pszArguments
TCFOLDER
Return the selected folder in the Folders tree control in pszArguments
SHORTCUT
Return the name of the shortcut that started Take Command in pszArguments
SELECTED
Return the currently selected text in pszArguments
SELECT
Mark the selection specified in pszArguments (top, left, bottom, right) in Take Command
START
Attach a hidden console window whose hex PID is in pszArguments
ACTIVATE
Activate the window whose handle is in pszArguments
WINDOW
Has a number of arguments (specified in pszArguments) to control the Take Command window:
MAX
MIN
HIDE
RES
TRAY
TRANS=n
FLASH=n
DETACH n (where n is the PID of the process to detach)
TOPMOST
NOTOPMOST
TOP
BOTTOM