Skip to content
This repository was archived by the owner on Jan 22, 2022. It is now read-only.
This repository was archived by the owner on Jan 22, 2022. It is now read-only.

Invoke the method of the class #56

@dosgo

Description

@dosgo

How to call the method of the class
For example, Win32_NetworkAdapterConfiguration SetDNSServerSearchOrder

The following method is invalid
_, err = wmi.CallMethod([]interface{}{}, fmt.Sprintf(Win32_NetworkAdapterConfiguration.ServiceName="%s", iName), "SetDNSServerSearchOrder", params)
//

Invalid object path

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions