DSCResources/DSC_HostsFile/DSC_HostsFile.schema.mof
[ClassVersion("1.0.0.0"), FriendlyName("HostsFile")]
class DSC_HostsFile : OMI_BaseResource { [Key, Description("Specifies the name of the computer that will be mapped to an IP address.")] string HostName; [Write, Description("Specifies the IP Address that should be mapped to the host name.")] string IPAddress; [Write, Description("Specifies if the hosts file entry should be created or deleted."), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] string Ensure; }; |