Examples/Resources/EXOOrganizationConfig/1-ConfigureOrganizationSettings.ps1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<#
This example is used to test new resources and showcase the usage of new resources being worked on.
It is not meant to use as a production baseline.
#>


Configuration Example
{
    param(
        [Parameter(Mandatory = $true)]
        [PSCredential]
        $credsGlobalAdmin
    )
    Import-DscResource -ModuleName Microsoft365DSC

    node localhost
    {
        EXOOrganizationConfig EXOOrganizationConfig
        {
            ElcProcessingDisabled                                     = $False;
            IsSingleInstance                                          = "Yes";
            DefaultPublicFolderProhibitPostQuota                      = "13 KB (13,312 bytes)";
            VisibleMeetingUpdateProperties                            = "Location,AllProperties:15";
            BookingsEnabled                                           = $True;
            ExchangeNotificationRecipients                            = @();
            EwsEnabled                                                = $null;
            LinkPreviewEnabled                                        = $True;
            FocusedInboxOn                                            = $null;
            AsyncSendEnabled                                          = $True;
            EwsAllowEntourage                                         = $null;
            RemotePublicFolderMailboxes                               = @();
            AuditDisabled                                             = $False;
            EwsAllowMacOutlook                                        = $null;
            ConnectorsEnabledForTeams                                 = $True;
            DefaultPublicFolderIssueWarningQuota                      = "13 KB (13,312 bytes)";
            MailTipsMailboxSourcedTipsEnabled                         = $True;
            EndUserDLUpgradeFlowsDisabled                             = $False;
            DistributionGroupDefaultOU                                = $null;
            OutlookPayEnabled                                         = $True;
            EwsAllowOutlook                                           = $null;
            DefaultAuthenticationPolicy                               = $null;
            DistributionGroupNameBlockedWordsList                     = @();
            ConnectorsEnabled                                         = $True;
            DefaultPublicFolderAgeLimit                               = $null;
            OutlookMobileGCCRestrictionsEnabled                       = $False;
            ActivityBasedAuthenticationTimeoutEnabled                 = $True;
            GlobalAdminAccount                                        = $credsGlobalAdmin;
            ConnectorsEnabledForYammer                                = $True;
            HierarchicalAddressBookRoot                               = $null;
            DefaultPublicFolderMaxItemSize                            = "13 KB (13,312 bytes)";
            MailTipsLargeAudienceThreshold                            = 25;
            ConnectorsActionableMessagesEnabled                       = $True;
            ExchangeNotificationEnabled                               = $True;
            ActivityBasedAuthenticationTimeoutWithSingleSignOnEnabled = $True;
            DirectReportsGroupAutoCreationEnabled                     = $False;
            OAuth2ClientProfileEnabled                                = $True;
            AppsForOfficeEnabled                                      = $True;
            PublicFoldersEnabled                                      = "Local";
            WebPushNotificationsDisabled                              = $False;
            MailTipsGroupMetricsEnabled                               = $True;
            DefaultPublicFolderMovedItemRetention                     = "07.00:00:00";
            DistributionGroupNamingPolicy                             = "";
            DefaultPublicFolderDeletedItemRetention                   = "30.00:00:00";
            MailTipsAllTipsEnabled                                    = $True;
            LeanPopoutEnabled                                         = $False;
            PublicComputersDetectionEnabled                           = $False;
            ByteEncoderTypeFor7BitCharsets                            = 0;
            ConnectorsEnabledForOutlook                               = $True;
            WebSuggestedRepliesDisabled                               = $False;
            PublicFolderShowClientControl                             = $False;
            ActivityBasedAuthenticationTimeoutInterval                = "06:00:00";
            BookingsSocialSharingRestricted                           = $False;
            DefaultGroupAccessType                                    = "Private";
            IPListBlocked                                             = @();
            SmtpActionableMessagesEnabled                             = $True;
            SiteMailboxCreationURL                                    = $null;
            BookingsPaymentsEnabled                                   = $False;
            MailTipsExternalRecipientsTipsEnabled                     = $False;
            AutoExpandingArchive                                      = $null;
            ConnectorsEnabledForSharepoint                            = $True;
            ReadTrackingEnabled                                       = $False;
        }
    }
}