Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PowerShell ¶
type PowerShell struct {
// contains filtered or unexported fields
}
func New ¶
func New() *PowerShell
func (*PowerShell) Execute ¶
func (p *PowerShell) Execute(args ...string) (stdOut string, stdErr string, err error)
func (*PowerShell) ExecuteAsAdmin ¶ added in v1.28.0
func (p *PowerShell) ExecuteAsAdmin(cmd string) (stdOut string, stdErr string, err error)
Click to show internal directories.
Click to hide internal directories.