DSCResources/MSFT_SPDocIcon/MSFT_SPDocIcon.schema.mof

1
2
3
4
5
6
7
8
9
10
11
[ClassVersion("1.0.0.0"), FriendlyName("SPDocIcon")]
class MSFT_SPDocIcon : OMI_BaseResource
{
    [Key, Description("Specifies the file type to configure the docicon for")] String FileType;
    [Write, Description("Specifies the full path to the image file for the file type")] String IconFile;
    [Write, Description("Specifies the edit text for the file type")] String EditText;
    [Write, Description("Specifies the Open Control command for the file type")] String OpenControl;
    [Write, Description("Present to configure the file type. Absent is remove the file type"), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] string Ensure;
    [Write, Description("POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsCredential if using PowerShell 5"), EmbeddedInstance("MSFT_Credential")] String InstallAccount;
};