Public/generated/Get-KritTcmEXOMailContact.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-KritTcmEXOMailContact { <# .SYNOPSIS Krit.TCM shim for M365DSC resource EXOMailContact. .DESCRIPTION Auto-generated from M365DSC .schema.mof by scripts/m365-setup/Generate-KritTcmFromM365DscSchema.ps1 (.1507o30). Search-replace safe: callers that today invoke Get-M365DSCEXOMailContact -Credential $cred -TenantId $tid can rename to Get-KritTcmEXOMailContact -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_EXOMailContact\MSFT_EXOMailContact.schema.mof Param count: 37 Generator wave: .1507o30 #> [CmdletBinding()] param( # The Name parameter specifies a unique name for the mail contact. [Parameter(Mandatory)] [string]$Name, # The ExternalEmailAddress parameter specifies the target email address of the mail contact or mail user. By default, this value is used as the primary email address of the mail contact or mail user. [Parameter(Mandatory)] [string]$ExternalEmailAddress, # The Alias parameter specifies the Exchange alias (also known as the mail nickname) for the recipient. This value identifies the recipient as a mail-enabled object, and shouldn't be confused with multiple email addresses for the same recipient (also known as proxy addresses). A recipient can have only one Alias value. The maximum length is 64 characters. [string]$Alias, # The DisplayName parameter specifies the display name of the mail contact. The display name is visible in the Exchange admin center and in address lists. [string]$DisplayName, # The FirstName parameter specifies the user's first name. [string]$FirstName, # The Initials parameter specifies the user's middle initials. [string]$Initials, # The LastName parameter specifies the user's last name. [string]$LastName, # The MacAttachmentFormat parameter specifies the Apple Macintosh operating system attachment format to use for messages sent to the mail contact or mail user. Valid values are: BinHex, UuEncode, AppleSingle, AppleDouble [ValidateSet('BinHex','UuEncode','AppleSingle','AppleDouble')] [string]$MacAttachmentFormat, # The MessageBodyFormat parameter specifies the message body format for messages sent to the mail contact or mail user. Valid values are: Text, Html, TextAndHtml [ValidateSet('Text','Html','TextAndHtml')] [string]$MessageBodyFormat, # The MessageFormat parameter specifies the message format for messages sent to the mail contact or mail user. Valid values are: Mime, Text [ValidateSet('Mime','Text')] [string]$MessageFormat, # The ModerationEnabled parameter specifies whether moderation is enabled for this recipient. [bool]$ModerationEnabled, # The OrganizationalUnit parameter specifies the location in Active Directory where the new contact is created. [string]$OrganizationalUnit, # The SendModerationNotifications parameter specifies when moderation notification messages are sent. Valid values are: ALways, Internal, Never [ValidateSet('Always','Internal','Never')] [string]$SendModerationNotifications, # The UsePreferMessageFormat specifies whether the message format settings configured for the mail user or mail contact override the global settings configured for the remote domain or configured by the message sender [bool]$UsePreferMessageFormat, # The CustomAttribute1 parameter specifies the value of the CustomAttribute1 [string]$CustomAttribute1, # The CustomAttribute2 parameter specifies the value of the CustomAttribute2 [string]$CustomAttribute2, # The CustomAttribute3 parameter specifies the value of the CustomAttribute3 [string]$CustomAttribute3, # The CustomAttribute4 parameter specifies the value of the CustomAttribute4 [string]$CustomAttribute4, # The CustomAttribute5 parameter specifies the value of the CustomAttribute5 [string]$CustomAttribute5, # The CustomAttribute6 parameter specifies the value of the CustomAttribute6 [string]$CustomAttribute6, # The CustomAttribute7 parameter specifies the value of the CustomAttribute7 [string]$CustomAttribute7, # The CustomAttribute8 parameter specifies the value of the CustomAttribute8 [string]$CustomAttribute8, # The CustomAttribute9 parameter specifies the value of the CustomAttribute9 [string]$CustomAttribute9, # The CustomAttribute10 parameter specifies the value of the CustomAttribute10 [string]$CustomAttribute10, # The CustomAttribute11 parameter specifies the value of the CustomAttribute11 [string]$CustomAttribute11, # The CustomAttribute12 parameter specifies the value of the CustomAttribute12 [string]$CustomAttribute12, # The CustomAttribute13 parameter specifies the value of the CustomAttribute13 [string]$CustomAttribute13, # The CustomAttribute14 parameter specifies the value of the CustomAttribute14 [string]$CustomAttribute14, # The CustomAttribute15 parameter specifies the value of the CustomAttribute15 [string]$CustomAttribute15, # Specifies if this Contact should exist. [ValidateSet('Present','Absent')] [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 'EXOMailContact' -Workload 'Exchange' -Verb 'Get' -CallerParams $PSBoundParameters } |