commandexecutorpowershelloo

package
v0.405.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

README

commandexecutorpowershelloo package

Object oriented powershell commandexectuor implementation.

For the non object oriented implementation see commandexectuorpowershell.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PowerShellService

type PowerShellService struct {
	commandexecutorgeneric.CommandExecutorBase
}

func NewPowerShell

func NewPowerShell() (p *PowerShellService)

func NewPowerShellService

func NewPowerShellService() (p *PowerShellService)

func PowerShell

func PowerShell() (p *PowerShellService)

func (*PowerShellService) RunCommand

func (b *PowerShellService) RunCommand(ctx context.Context, options *parameteroptions.RunCommandOptions) (commandOutput *commandoutput.CommandOutput, err error)

func (*PowerShellService) RunOneLiner

func (p *PowerShellService) RunOneLiner(ctx context.Context, oneLiner string) (output *commandoutput.CommandOutput, err error)

func (*PowerShellService) RunOneLinerAndGetStdoutAsString

func (p *PowerShellService) RunOneLinerAndGetStdoutAsString(ctx context.Context, oneLiner string) (stdout string, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL