DSCResources/MSFT_NetAdapterState/MSFT_NetAdapterState.schema.mof

1
2
3
4
5
6
7
[ClassVersion("1.0.0.0"), FriendlyName("NetAdapterState")]
class MSFT_NetAdapterState : OMI_BaseResource
{
    [Key, Description("Specifies the name of network adapter.")] String Name;
    [Required, Description("Specifies the desired state of the network adapter"), ValueMap{"Enabled","Disabled"}, Values{"Enabled","Disabled"}] String State;
};