Converting the Windows Script Host Terminate Method

Definition: Instructs the script engine to end the process started by the Exec method.


In Windows Script Host the Terminate method is used when starting and running scripts on a remote computer. In Windows PowerShell 1.0 there is no built-in mechanism for executing scripts and/or commands on remote machines. This capability does exist in the Community Technology Preview (CTP) releases of Windows PowerShell 2.0; however, the exact procedures used to carry out these commands or execute these scripts hinges on the version of the CTP you are running. For more information, see the Script Center’s Windows PowerShell 2.0 home page.

See conversions of other Windows Script Host methods and properties.
Return to the VBScript to Windows PowerShell home page