DSCResources/MSFT_xExchImapSettings/MSFT_xExchImapSettings.schema.mof

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

[ClassVersion("1.0.0.0"), FriendlyName("xExchImapSettings")]
class MSFT_xExchImapSettings : OMI_BaseResource
{
    [Key] String Server; //The IMAP server to configure
    [Required, EmbeddedInstance("MSFT_Credential")] String Credential; //Credentials used to establish a remote Powershell session to Exchange
    [Write] Boolean AllowServiceRestart; //Whether it is OK to restart the IMAP services after making changes. Defaults to $false.
    [Write] String DomainController; //Optional Domain Controller to connect to
    [Write, ValueMap{"PlainTextLogin","PlainTextAuthentication","SecureLogin"}, Values{"PlainTextLogin","PlainTextAuthentication","SecureLogin"}] String LoginType; //The LoginType to be used for IMAP
    [Write] String ExternalConnectionSettings[]; //Specifies the host name, port, and encryption type that Exchange uses when IMAP clients connect to their email from the outside
    [Write] String X509CertificateName; //Specifies the host name in the SSL certificate from the Associated Subject field.
};