CmdID / PowerShell / Cmdlets / Set
Set-AcceptedDomain
Use the Set-AcceptedDomain cmdlet to modify existing accepted domains in your organization. Exchange PowerShell reference
From the Exchange PowerShell reference 17 parameters Its page in the reference
Parameters
Show its 17 parameters
-IdentityThe Identity parameter specifies the accepted domain you want to modify.-AddressBookEnabledThe AddressBookEnabled parameter specifies whether to enable recipient filtering for this accepted domain.-CanHaveCloudCache-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-DomainTypeThe DomainType parameter specifies the accepted domain type.-EnableNego2AuthenticationThis parameter is reserved for internal Microsoft use.-MakeDefaultThe MakeDefault parameter specifies whether the accepted domain is the default domain.-MailFlowRegion-MatchSubDomainsThe MatchSubDomains parameter enables mail to be sent by and received from users on any subdomain of this accepted domain.-NameThe Name parameter specifies a unique name for the accepted domain object.-OutboundOnlyThe OutboundOnly parameter specifies whether this accepted domain is an internal relay domain for the on-premises deployment for organizations that have coexistence with a cloud-based organization.-PendingCompletionThis parameter is reserved for internal Microsoft use.-PendingRemovalThis parameter is reserved for internal Microsoft use.-SendingFromDomainDisabledThe SendingFromDomainDisabled parameter specifies whether to allow email to be sent from addresses in the domain.-SendingToDomainDisabledThe SendingToDomainDisabled specifies whether to prevent delivery of messages sent to recipients in the domain.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.