Get-HostedEmailDomains
Get-HostedEmailDomains
Gets the configuration of hosted email domains.
Syntax
Get-HostedEmailDomains [ <CommonParameters>]
Detailed Description
The Get-HostedEmailDomains cmdlet gets the configuration of hosted email domains. The cmdlet returns the domain names of the hosted email providers.
Parameters
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
Outputs
The output type is the type of the objects that the cmdlet emits.
string[]
This cmdlet returns an array of domain names from a hosted email provider.
Examples
Example 1: Get the configuration of hosted email domains
This command gets the domain names of the hosted email providers.
PS C:\> Get-HostedEmailDomains
PS C:\>