SCCMWebService..::..RunPowerShellScriptWithResultSet Method (String, array<String>[]()[][], ScriptTypes)
Runs the power shell script with result set.
Namespace:
SCCMWebServiceAssembly: SCCMWebService (in SCCMWebService.dll)
Syntax
[SoapHeaderAttribute] [WebMethodAttribute] public DataSet RunPowerShellScriptWithResultSet( string scriptFileName, string[] arguments, ScriptTypes scriptType )
<SoapHeaderAttribute> _ <WebMethodAttribute> _ Public Function RunPowerShellScriptWithResultSet ( _ scriptFileName As String, _ arguments As String(), _ scriptType As ScriptTypes _ ) As DataSet
[SoapHeaderAttribute] [WebMethodAttribute] public: DataSet^ RunPowerShellScriptWithResultSet( String^ scriptFileName, array<String^>^ arguments, ScriptTypes^ scriptType )
Parameters
- scriptFileName
- Type: String
Name of the script file.
- arguments
- Type: array<String>[]()[][]
The arguments.
- scriptType
- Type: SCCMWebService.DataObjects..::..ScriptTypes
Type of the script.