Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

Converting the Windows Script Host DisconnectObject Method

Windows PowerShell

Definition: Disconnects a connected object's event sources.


In Windows Script Host the DisconnectObject 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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft