DSCResources/MSFT_SPFeature/MSFT_SPFeature.schema.mof
[ClassVersion("1.0.0.0"), FriendlyName("SPFeature")] class MSFT_SPFeature : OMI_BaseResource { [Key, Description("The name of the feature")] string Name; [Required, Description("The scope to change the feature at - Farm, WebApplication, SiteCollection or Site"), ValueMap{"Farm","WebApplication","Site","Web"}, Values{"Farm","WebApplication","Site","Web"}] string FeatureScope; [Key, Description("The URL to change the feature at")] string Url; [Write, Description("Present if the feature is to be enabled, Absent if it is to be disabled"), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] string Ensure; [Write, Description("The version of the feature to check against")] string Version; [Write, Description("POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsCredential if using PowerShell 5"), EmbeddedInstance("MSFT_Credential")] String InstallAccount; }; |