Public/generated/Get-KritTcmEXOCASMailboxSettings.ps1

<#
·· × × × ··· SirJ's Deaddrop ··· × × × ···
      — If you found this, you were meant to —

---------------- A Seriously Kritical™ Production ----------------

                                   [] →
                 (¯`·.¸¸.·´¯)
               .·´ `·. [] →
               `·.______________.·´
              | +------------------+ |
              | | Kritical™ | |
              | | [] [] | |
              | | | |
              | | [] [] [] | |
              | +------------------+ |
                  (._.·´¯`·.¸_)

                     Your last call.
                   And your first move.

                         ★ ☆ ★

                     +61 1300 274 655
                 sales at kritical dot net

-----------------------------------------------------------------


.COPYRIGHT
    (c) 2026 Kritical Pty Ltd. All rights reserved.
.AUTHOR
    Joshua Finley <joshua.finley@kritical.net>
.COMPANY
    Kritical Pty Ltd | ABN 39 687 048 086
    Level 4 / 60 Moorabool St Geelong VIC 3220
    1300 274 655 | sales@kritical.net | https://kritical.net/
.NOTES
    HARD RULE 13 canonical Kritical branding — do not overlay other agent banners.
    Auto-generated by Generate-KritTcmFromM365DscSchema.ps1 (.1507o30+).
    Upstream reference: Microsoft365DSC by Microsoft (MIT). This shim provides
    literal search-replace equivalence — see Krit.TCM/generated/index.md.
#>


function Get-KritTcmEXOCASMailboxSettings {
<#
.SYNOPSIS
    Krit.TCM shim for M365DSC resource EXOCASMailboxSettings.

.DESCRIPTION
    Auto-generated from M365DSC .schema.mof by
    scripts/m365-setup/Generate-KritTcmFromM365DscSchema.ps1 (.1507o30).

    Search-replace safe: callers that today invoke
        Get-M365DSCEXOCASMailboxSettings -Credential $cred -TenantId $tid
    can rename to
        Get-KritTcmEXOCASMailboxSettings -Credential $cred -TenantId $tid
    with ZERO other edits. Parameter shape matches the M365DSC .schema.mof
    exactly. Per operator direction, -PreferM365DscBehavior defaults to true.

    Actual Graph dispatch is delegated to Invoke-KritTcmM365DscSchemaBridge.
    Bridge maps resource → Graph endpoint per per-resource wave; where mapping
    is not yet shipped, bridge returns an object with Verdict='UNMAPPED'.

.NOTES
    Workload: Exchange
    Original mof: C:\Users\joshl\OneDrive - Kritical Pty Ltd\Github\KRTPax8ToShopifyConnector\.kritm365-mine\Microsoft365DSC\Modules\Microsoft365DSC\DSCResources\MSFT_EXOCASMailboxSettings\MSFT_EXOCASMailboxSettings.schema.mof
    Param count: 39
    Generator wave: .1507o30
#>

[CmdletBinding()]
param(
        # The Identity parameter specifies the mailbox that you want to configure.
[Parameter(Mandatory)] [string]$Identity,
        # The ActiveSyncDebugLogging parameter enables or disables Exchange ActiveSync debug logging for the mailbox.
[bool]$ActiveSyncDebugLogging,
        # The ActiveSyncEnabled parameter enables or disables access to the mailbox using Exchange ActiveSync.
[bool]$ActiveSyncEnabled,
        # The ActiveSyncMailboxPolicy parameter specifies the Exchange ActiveSync mailbox policy for the mailbox.
[string]$ActiveSyncMailboxPolicy,
        # The ActiveSyncSuppressReadReceipt parameter controls the behavior of read receipts for Exchange ActiveSync clients that access the mailbox.
[bool]$ActiveSyncSuppressReadReceipt,
        # The EwsAllowEntourage parameter enables or disables access to the mailbox by Microsoft Entourage clients that use Exchange Web Services.
[bool]$EwsAllowEntourage,
        # The EwsAllowMacOutlook parameter enables or disables access to the mailbox by Outlook for Mac clients that use Exchange Web Services.
[bool]$EwsAllowMacOutlook,
        # The EwsAllowOutlook parameter enables or disables access to the mailbox by Outlook clients that use Exchange Web Services.
[bool]$EwsAllowOutlook,
        # The EwsApplicationAccessPolicy parameter controls access to the mailbox using Exchange Web Services applications.
[string]$EwsApplicationAccessPolicy,
        # The EwsEnabled parameter enables or disables access to the mailbox using Exchange Web Services clients.
[bool]$EwsEnabled,
        # The ImapEnabled parameter enables or disables access to the mailbox using IMAP4 clients.
[bool]$ImapEnabled,
        # The ImapMessagesRetrievalMimeFormat parameter specifies the message format for IMAP4 clients that access the mailbox.
[string]$ImapMessagesRetrievalMimeFormat,
        # The ImapForceICalForCalendarRetrievalOption parameter specifies how meeting requests are presented to IMAP4 clients that access the mailbox.
[bool]$ImapForceICalForCalendarRetrievalOption,
        # The ImapSuppressReadReceipt parameter controls the behavior of read receipts for IMAP4 clients that access the mailbox.
[bool]$ImapSuppressReadReceipt,
        # The ImapUseProtocolDefaults parameter specifies whether to use the IMAP4 protocol defaults for the mailbox.
[bool]$ImapUseProtocolDefaults,
        # The MacOutlookEnabled parameter enables or disables access to the mailbox using Outlook for Mac clients that use Microsoft Sync technology.
[bool]$MacOutlookEnabled,
        # The MAPIEnabled parameter enables or disables access to the mailbox using MAPI clients (for example, Outlook).
[bool]$MAPIEnabled,
        # The OneWinNativeOutlookEnabled parameter enables or disables access to the mailbox using the new Outlook for Windows.
[bool]$OneWinNativeOutlookEnabled,
        # The OutlookMobileEnabled parameter enables or disables access to the mailbox using Outlook for iOS and Android.
[bool]$OutlookMobileEnabled,
        # The OWAEnabled parameter enables or disables access to the mailbox using Outlook on the web (formerly known as Outlook Web App or OWA).
[bool]$OWAEnabled,
        # The OWAforDevicesEnabled parameter enables or disables access to the mailbox using the older Outlook Web App (OWA) app on iOS and Android devices.
[bool]$OWAforDevicesEnabled,
        # The OwaMailboxPolicy parameter specifies the Outlook on the web mailbox policy for the mailbox.
[string]$OwaMailboxPolicy,
        # The PopEnabled parameter enables or disables access to the mailbox using POP3 clients.
[bool]$PopEnabled,
        # The PopForceICalForCalendarRetrievalOption parameter specifies how meeting requests are presented to POP3 clients that access the mailbox.
[bool]$PopForceICalForCalendarRetrievalOption,
        # The PopMessagesRetrievalMimeFormat parameter specifies the message format for POP3 clients that access the mailbox.
[string]$PopMessagesRetrievalMimeFormat,
        # The PopSuppressReadReceipt parameter controls the behavior of read receipts for POP3 clients that access the mailbox.
[bool]$PopSuppressReadReceipt,
        # The PopUseProtocolDefaults parameter specifies whether to use the POP3 protocol defaults for the mailbox.
[bool]$PopUseProtocolDefaults,
        # The PublicFolderClientAccess parameter enables or disables access to public folders in Microsoft Outlook.
[bool]$PublicFolderClientAccess,
        # The ShowGalAsDefaultView parameter specifies whether the global address list (GAL) is the default recipient picker for messages.
[bool]$ShowGalAsDefaultView,
        # The SmtpClientAuthenticationDisabled parameter specifies whether to disable authenticated SMTP (SMTP AUTH) for the mailbox.
[bool]$SmtpClientAuthenticationDisabled,
        # The UniversalOutlookEnabled parameter enables or disables access to the mailbox using Windows 10 Mail and Calendar.
[bool]$UniversalOutlookEnabled,
        # Present ensures the Mailbox CAS settings are applied.
[ValidateSet('Present')] [string]$Ensure,
        # Credentials of the Exchange Global Admin
[string]$Credential,
        # Id of the Azure Active Directory application to authenticate with.
[string]$ApplicationId,
        # Id of the Azure Active Directory tenant used for authentication.
[string]$TenantId,
        # Thumbprint of the Azure Active Directory application's authentication certificate to use for authentication.
[string]$CertificateThumbprint,
        # Username can be made up to anything but password will be used for CertificatePassword
[string]$CertificatePassword,
        # Path to certificate used in service principal usually a PFX file.
[string]$CertificatePath,
        # Managed ID being used for authentication.
[bool]$ManagedIdentity
)
    Invoke-KritTcmM365DscSchemaBridge -ResourceName 'EXOCASMailboxSettings' -Workload 'Exchange' -Verb 'Get' -CallerParams $PSBoundParameters
}