Exchange 2013 remote commands hanging in Exchange managmet shell.

Hi ,

When i use a command in the exchange managment powershell all commands will be okay and set.
But as i use a command that needs to get his data from another Exchange server outside the main side then it will take 15 minutes to get some. Vica versa its the same.
Example but not limited to:
Get-MapiVirtualDirectory | ft server, *url*

But when using just Get-MapiVirtualDirectory -Server myservername its there instsant.
What can this be ?
No idea where to start.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MASEE Solution Guide - Technical Dept HeadCommented:
Hi ottenshx,
What is your sever memory?
How is the connectivity between Exchange and AD?
Exchange get these details from AD.
These you have to consider.

Try to get other server details from this server.
i.e. From server1 try to run this command Get-MapiVirtualDirectory identity <server2> | ft server, *url*

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ottenshxAuthor Commented:
Thanks. its also a bit due to slow lines.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.