DSCResources/MSFT_SPSitePropertyBag/MSFT_SPSitePropertyBag.schema.mof
[ClassVersion("1.0.0.0"), FriendlyName("SPSitePropertyBag")] class MSFT_SPSitePropertyBag : OMI_BaseResource { [Key, Description("The URL of the site collection")] string Url; [Key, Description("The key of the SPSite property")] string Key; [Write, Description("Value of the SPSite property")] String Value; [Write, Description("Set to present to ensure the SPSite property exists, or absent to ensure it is removed"), 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; }; |