Registry / utility / bhendo-go-powershell

bhendo-go-powershell

JSON →
library0.0.0-20190719160123-219e7fb4e41egogounverified

A Go library for executing PowerShell commands and scripts from Go applications.

go get github.com/bhendo/go-powershell
INSTALL
IMPORT
SIG · BHENDO-GO-POWERSHE
B
bhendo-go-powershell
utilitygov0.0.0-20190719160123-219e7fb4e41e
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

powershell
github.com/bhendo/go-powershell

Execute a PowerShell command and capture output.

package main import "github.com/bhendo/go-powershell" func main() { shell, _ := powershell.New() defer shell.Exit() stdout, _, _ := shell.Execute("Get-Date") _ = stdout }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20190719160123-219e7fb4e41elatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Meta
1
Resources
bhendo-go-powershell — go get bhendo-go-powershell · libregistry