DSCResources/MSFT_xExchPowershellVirtualDirectory/MSFT_xExchPowerShellVirtualDirectory.schema.mof

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

[ClassVersion("1.0.0.0"), FriendlyName("xExchPowerShellVirtualDirectory")]
class MSFT_xExchPowerShellVirtualDirectory : OMI_BaseResource
{
    [Key] String Identity; //Identity of PS Vdir. Should be in the format 'SERVERNAME\Vdir', as in 'SERVER\PowerShell (Default Web Site)'
    [Required, EmbeddedInstance("MSFT_Credential")] String Credential; //Credentials used to establish a remote Powershell session to Exchange
    [Write] Boolean AllowServiceRestart; //Whether it is OK to recycle the app pool after making changes. Defaults to $true.

    //Remaining props correspond directly to Set-PowershellVirtualDirectory parameters
    //http://technet.microsoft.com/en-us/library/dd298108(v=exchg.150).aspx
    [Write] Boolean BasicAuthentication;
    [Write] Boolean CertificateAuthentication;
    [Write] String DomainController;
    [Write] String ExternalUrl;
    [Write] String InternalUrl;
    [Write] Boolean RequireSSL;
    [Write] Boolean WindowsAuthentication;
};