DSCResources/MSFT_SPOutgoingEmailSettings/MSFT_SPOutgoingEmailSettings.schema.mof

1
2
3
4
5
6
7
8
9
[ClassVersion("1.0.0.0"), FriendlyName("SPOutgoingEmailSettings")]
class MSFT_SPOutgoingEmailSettings : OMI_BaseResource
{
    [key, Description("The URL of the web application. If you want to set the global settings use the Central Admin URL")] string WebAppUrl;
    [Required, Description("
The SMTP server for outgoing mail")] string SMTPServer;
    [Required, Description("
The from address to put on messages")] string FromAddress;
    [Required, Description("
The email address that replies should be directed to")] string ReplyToAddress;
    [Required, Description("
The character set to use on messages")] string CharacterSet;
    [Write, Description("
POWERSHELL 4 ONLY: The account to run this resource as, use PsDscRunAsCredential if using PowerShell 5"), EmbeddedInstance("MSFT_Credential")] String InstallAccount; };