DSCResources/MSFT_SPWebAppBlockedFileTypes/MSFT_SPWebAppBlockedFileTypes.schema.mof
[ClassVersion("1.0.0"), FriendlyName("SPWebAppBlockedFileTypes")]
class MSFT_SPWebAppBlockedFileTypes : OMI_BaseResource { [Key, Description("The URL of the web application to set blocked file types for")] string WebAppUrl; [write, Description("This is a fixed list to use for blocked file types in this web app")] string Blocked[]; [write, Description("This list of file types that will always be added to the list for this web app. Types not in this list will be left in the list")] string EnsureBlocked[]; [write, Description("This list of file types that will always be removedfrom the list for this web app. Types not in this list will be left in the list")] string EnsureAllowed[]; [Write, Description("POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsCredential if using PowerShell 5"), EmbeddedInstance("MSFT_Credential")] string InstallAccount; }; |