Show/Hide Toolbars

Take Command / TCC Help v. 21

Purpose:Execute a PowerShell script or string

 

Format:PSHELL [/C /S script ...]

 

/C(lose)

/S(tring)

 

See also @PSHELL.

 

Usage:

 

Note that you may need to enable PowerShell scripting on your system; on recent versions of Windows it is disabled by default (for security).

 

Option:

 

/CClose the persistent PowerShell interpreter

 

/SExecute a string (like @PSHELL)