C# Class OSAE.PowerShellProcessor.PowerShellPlugin

Allows OSA to run scripts through PowerShell.
Inheritance: OSAEPluginBase
Afficher le fichier Open project: opensourceautomation/Open-Source-Automation

Méthodes publiques

Méthode 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

Méthode 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 méthode

public OwnTypes ( ) : void
Résultat void

ProcessCommand() public méthode

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

RunInterface() public méthode

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

Shutdown() public méthode

Shutsdown the Powershell Plugin
public Shutdown ( ) : void
Résultat void