Method | Description | |
---|---|---|
ChangePSDirectory ( this runspace, string directory ) : void | ||
ExecuteScript ( this runspace, string installPath, string scriptPath, IPackage package ) : void | ||
ExtractErrorFromErrorRecord ( this runspace, |
||
GetEffectiveExecutionPolicy ( this runspace ) : ExecutionPolicy | ||
GetExecutionPolicy ( this runspace, ExecutionPolicyScope scope ) : ExecutionPolicy | ||
ImportModule ( this runspace, string modulePath ) : void | ||
Invoke ( this runspace, string command, object inputs, bool outputResults ) : Collection |
||
SetExecutionPolicy ( this runspace, ExecutionPolicy policy, ExecutionPolicyScope scope ) : void |
Method | Description | |
---|---|---|
CreatePipeline ( System.Management.Automation.Runspaces.Runspace runspace, string command, bool outputResults ) : System.Management.Automation.Runspaces.Pipeline | ||
GetExecutionPolicy ( this runspace, string command ) : ExecutionPolicy | ||
InvokeAsync ( this runspace, string command, object inputs, bool outputResults, EventHandler |
public static ChangePSDirectory ( this runspace, string directory ) : void | ||
runspace | this | |
directory | string | |
return | void |
public static ExecuteScript ( this runspace, string installPath, string scriptPath, IPackage package ) : void | ||
runspace | this | |
installPath | string | |
scriptPath | string | |
package | IPackage | |
return | void |
public static ExtractErrorFromErrorRecord ( this runspace, |
||
runspace | this | |
record | ||
return | string |
public static GetEffectiveExecutionPolicy ( this runspace ) : ExecutionPolicy | ||
runspace | this | |
return | ExecutionPolicy |
public static GetExecutionPolicy ( this runspace, ExecutionPolicyScope scope ) : ExecutionPolicy | ||
runspace | this | |
scope | ExecutionPolicyScope | |
return | ExecutionPolicy |
public static ImportModule ( this runspace, string modulePath ) : void | ||
runspace | this | |
modulePath | string | |
return | void |
public static Invoke ( this runspace, string command, object inputs, bool outputResults ) : Collection |
||
runspace | this | |
command | string | |
inputs | object | |
outputResults | bool | |
return | Collection |
public static SetExecutionPolicy ( this runspace, ExecutionPolicy policy, ExecutionPolicyScope scope ) : void | ||
runspace | this | |
policy | ExecutionPolicy | |
scope | ExecutionPolicyScope | |
return | void |