rakelkar / gonetsh

GO wrapper for the windows NETSH tool
Apache License 2.0
11 stars 11 forks source link

gonetsh

build status

A simple set of GO functions to wrap windows netsh commands. Inspired by the netsh wrapper in kubernetes. Now also provides netroute that wraps route CRUD powershell commandlets.

Build

./build.ps1

Test

./test.ps1

Integration Test

Integration tests actually runs netsh on your machine...

go test -tags=integration -v ./netroute
go test -tags=integration -v ./netsh