Forum Discussion
Slow performance when executing cmdlets through Powershell from a management server
kevinmoonen, Microsoft has just updated the https://learn.microsoft.com/en-us/Exchange/manage-hybrid-exchange-recipients-with-management-tools#prepare-the-exchange-environment document to add a note:
"When you shut down your final Exchange server and test the create and update commands like New- or Set-RemoteMailbox, you'll observe significant increase in latency. This is because the Admin Audit Log initializer attempts to connect to the powered-down Exchange server, causing a timeout delay of approximately 40 seconds. After cleaning up the server in Active Directory using the CleanupActiveDirectoryEMT.ps1 script mentioned in the Active Directory clean up section, this delay is no longer present."
I haven't been able to test this out yet (because I'm stuck on Step 5b of Permanently Shutting Down Your Last Exchange Server), but at least they admit that there is a problem (that unfortunately they are not going to fix).