C# Class OSAE.PowerShellProcessor.PowerShellPlugin

Allows OSA to run scripts through PowerShell.
Inheritance: OSAEPluginBase
Exibir arquivo Open project: opensourceautomation/Open-Source-Automation

Public Methods

Method Description
OwnTypes ( ) : void
ProcessCommand ( OSAEMethod method ) : void

A Command to be processed bu the plugin

RunInterface ( string pluginName ) : void

Set up the powershell plugin ready to process commands

Shutdown ( ) : void

Shutsdown the Powershell Plugin

Private Methods

Method Description
PluginRegistered ( ) : bool
Register ( bool undo ) : void
RunScript ( string script, OSAEMethod method ) : void

Runs the content of the script parameter as a powershell script

Method Details

OwnTypes() public method

public OwnTypes ( ) : void
return void

ProcessCommand() public method

A Command to be processed bu the plugin
public ProcessCommand ( OSAEMethod method ) : void
method OSAEMethod
return void

RunInterface() public method

Set up the powershell plugin ready to process commands
public RunInterface ( string pluginName ) : void
pluginName string
return void

Shutdown() public method

Shutsdown the Powershell Plugin
public Shutdown ( ) : void
return void