DSCResources/MSFT_VSInstall/MSFT_VSInstall.schema.mof
[ClassVersion("1.0.0.0"), FriendlyName("VSInstall")] class MSFT_VSInstall : OMI_BaseResource { [Key, Description("Path to the online .exe installer")] string ExecutablePath; [Required, Description("The account to use to install Visual Studio"), EmbeddedInstance("MSFT_Credential")] string InstallAccount; [Write, Description("List of VS2017 Workloads to install")] string Workloads[]; [Write, Description("Present ensures service app exists, absent ensures it is removed"), ValueMap{"Present","Absent"}, Values{"Present","Absent"}] string Ensure; }; |