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