/gonetsh

GO wrapper for the windows NETSH tool

Primary LanguageGoApache License 2.0Apache-2.0

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