DSCResources/TextFile/TextFile.schema.mof

1
2
3
4
5
6
7
8
9
10
11
12

[ClassVersion("1.0.0.0"), FriendlyName("TextFile")]
class TextFile : OMI_BaseResource
{
    [Write, ValueMap{"Present","Absent"}, Values{"Present","Absent"}] String Ensure;
    [Key] String Path;
    [Write] String Contents;
    [Write, ValueMap{"utf8", "utf8NoBOM", "utf8BOM", "utf32", "unicode", "bigendianunicode", "ascii", "sjis", "Default"}, Values{"utf8", "utf8NoBOM", "utf8BOM", "utf32", "unicode", "bigendianunicode", "ascii", "sjis", "Default"}] String Encoding;
    [Write, ValueMap{"CRLF", "LF"}, Values{"CRLF", "LF"}] String NewLine;
};