Get-O365DomainConfiguration

Get-O365DomainConfiguration

Gets the domain configuration.

Syntax

Get-O365DomainConfiguration [ <CommonParameters>]

Detailed Description

The Get-O365DomainConfiguration cmdlet gets the domain configuration for .

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.

  • Microsoft.WindowsServerSolutions.O365Integration.O365DomainConfiguration

    This cmdlet returns a class that represents the domain configuration for
    When output: integration is enabled
    AvailableDomains Property System.Collections.ObjectModel.ReadOnlyCollection<O365Domain>
    PrimaryDomainName Property System.String
    CustomDomainName Property System.String
    CustomDomainStatus Property Microsoft.WindowsServerSolutions.O365Integration.O365DomainStatus

Examples

Example 1: Get the domain configuration

This command gets the domain configuration for .

PS C:\> Get-O365DomainConfiguration
PS C:\> 

Set-O365Domain

Remove-O365Domain