Applies to: Exchange Online
This cmdlet is available only in the cloud-based service.
Use the Get-OnPremisesOrganization cmdlet to retrieve settings for the OnPremisesOrganization object that has been created for a hybrid deployment.
For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.
This example retrieves the on-premises organization settings for ExchangeMail using the Identity parameter.
Get-OnPremisesOrganization -Identity ExchangeMail | Format-List
The OnPremisesOrganization object represents an on-premises Exchange organization configured for hybrid deployment with a Microsoft Office 365 tenant organization. It's used with the Hybrid Configuration wizard and is typically created automatically when the hybrid deployment is initially configured by the wizard. You can use the Get-OnPremisesOrganization cmdlet to view the properties of the OnPremisesOrganization object in the Office 365 tenant.
|Manual modification of this object may result in hybrid deployment misconfiguration. We strongly recommend that you use the Hybrid Configuration wizard to modify this object in the Office 365 tenant.|
You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Hybrid deployment configuration" entry in the Exchange infrastructure and PowerShell permissions topic.
The Identity parameter specifies the identity of the on-premises organization object. You can use the following values:
To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.