DSCResources/MSFT_xWindowsOptionalFeature/MSFT_xWindowsOptionalFeature.schema.mof

 
[ClassVersion("1.0.0.0"), FriendlyName("xWindowsOptionalFeature")]
class MSFT_xWindowsOptionalFeature : OMI_BaseResource
{
    [Key] String Name;
    [Write, ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure;
    [Write] String Source[];
    [Write] Boolean NoWindowsUpdateCheck;
    [Write] Boolean RemoveFilesOnDisable;
    [Write, ValueMap{"ErrorsOnly","ErrorsAndWarning","ErrorsAndWarningAndInformation"}, Values{"ErrorsOnly","ErrorsAndWarning","ErrorsAndWarningAndInformation"}] String LogLevel;
    [Write] String LogPath;
    [Read] String CustomProperties[];
    [Read] String Description;
    [Read] String DisplayName;
};