wmiutil

package
v0.0.0-...-2aa8b88 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

View Source
const (
	FeatureMicrosoftHyperV    = "Microsoft-Hyper-V"
	FeatureMicrosoftHyperVAll = "Microsoft-Hyper-V-All"
)

Variables

This section is empty.

Functions

func QueryWithTimeout

func QueryWithTimeout(timeout time.Duration, query string, dst interface{}, connectServerArgs ...interface{}) error

Types

type FeatureInstallState

type FeatureInstallState uint32
const (
	FeatureInstallStateEnabled FeatureInstallState = iota + 1
	FeatureInstallStateDisabled
	FeatureInstallStateAbsent
	FeatureInstallStateUnknown
)

func CheckOptionalFeatureStatus

func CheckOptionalFeatureStatus(feature string) (FeatureInstallState, error)

func (FeatureInstallState) String

func (st FeatureInstallState) String() string

Jump to

Keyboard shortcuts

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