Documentation ¶
Rendered for windows/amd64
Index ¶
Constants ¶
View Source
const Sha256SourceHashType = "sha256"
SourceHashType is set as default sha256.
Variables ¶
View Source
var PowerShellModulesDirectory = filepath.Join(os.Getenv("SystemRoot"), "System32", "WindowsPowerShell", "v1.0", "Modules")
PowerShellModulesDirectory is the directory where PowerShell Modules are installed
Functions ¶
Types ¶
type PSModulePluginInput ¶
type PSModulePluginInput struct { contracts.PluginInput RunCommand interface{} ParsedCommands []string ID string WorkingDirectory string TimeoutSeconds interface{} Source string SourceHash string SourceHashType string }
RunCommandPluginInput represents one set of commands executed by the RunCommand plugin.
type Plugin ¶
type Plugin struct { // ExecuteCommand is an object that can execute commands. CommandExecuter executers.T // contains filtered or unexported fields }
Plugin is the type for the psmodule plugin.
func (*Plugin) Execute ¶
func (p *Plugin) Execute(config contracts.Configuration, cancelFlag task.CancelFlag, output iohandler.IOHandler)
Click to show internal directories.
Click to hide internal directories.