Skip Navigation LinksUpdate-Hybrid-PowerShell

​​

How to Update Hybrid Configuration using Exchange Server 2010 SP3 with Exchange Management Shell (EMS)

 

Manage a Hybrid Deployment

http://technet.microsoft.com/en-US/library/664bb140-4197-47a1-a4c0-8217c8165746(EXCHG.141).aspx?v=14.3.181.6&t=exchgf1

 

$OnPremisesCreds = Get-Credential

 image001.png

 

$TenantCreds = Get-Credential

image002.png 

 

Update-HybridConfiguration -OnPremisesCredentials $OnPremisesCreds -TenantCredentials $TenantCreds

 

Articles used:

http://technet.microsoft.com/en-us/library/hh529938(v=exchg.141).aspx

Use this command to specify your on-premises credentials. For example, run this command and then enter "admin@contoso.com" and the associated account password in the credentials dialog when prompted.

 

$OnPremisesCreds = Get-Credential

Use this command to specify your cloud-based service credentials. For example, run this command and then enter "admin@contoso.onmicrosoft.com"and the associated account password in the credentials dialog when prompted.

 

$TenantCreds = Get-Credential

Use this command to define the specified credentials that will be used when updating the hybrid configuration object and connecting to the cloud-based service.

 

Update-HybridConfiguration -OnPremisesCredentials $OnPremisesCreds -TenantCredentials $TenantCreds

 ​Will check the permiussions in onpremise servers:
image003.png

Will check "Prerequisites":
image004.png

Recreates "Organization Relatioships":
image005.png

Will configure the "Mail Flow":

image006.png

When finish, it'll will not show any errors:

image007.png 

http://technet.microsoft.com/en-us/library/hh529938(v=exchg.141).aspx

Get-HybridConfiguration | FL​

​​