SCCM WebService API Reference

SCCMWebService..::..RunPowerShellScript Method

Overload List


  Name Description
Public method RunPowerShellScript(String, String)
Runs the given powershell script on local system using power shell path for custom scripts (..\Custom\Local).
Public method RunPowerShellScript(String, String, String) Obsolete.
Runs a powershell script on the given computer. (OBSOLETE)
Public method RunPowerShellScript(String, String, array<String>[]()[][]) Obsolete.
Runs the given powershell script. (OBSOLETE)
Public method RunPowerShellScript(String, array<String>[]()[][])
Runs the given powershell script on local system using power shell path for custom scripts (..\Custom\Local).
Public method RunPowerShellScript(String, String, ScriptTypes)
Runs the given powershell script on local system using power shell path for the specified script type (e.g. ScriptType.Local: ..\Custom\Local).
Public method RunPowerShellScript(String, array<String>[]()[][], ScriptTypes)
Runs the given powershell script on local system using power shell path for the specified script type (e.g. ScriptType.Local: ..\Custom\Local).
Public method RunPowerShellScript(String, String, String, String, Boolean)
Runs the given powershell script on remote computer using specified power shell path (e.g. \\Custom\\Remote).
Public method RunPowerShellScript(String, String, String, array<String>[]()[][], Boolean)
Runs the power shell script.