Quantcast
Channel: Exchange Server 2013 - Administration, Monitoring, and Performance 论坛
Viewing all articles
Browse latest Browse all 8719

Performance issues with Get-Mailbox -Database PowerShell cmdlet

$
0
0

Hello,

I have a database with say around 5000 users. My below non-fancy cmdlet takes close to 4 mins for getting the mailbox objects. Is there a way I can speed it up?

Get-Mailbox -Database -resultsize unlimited

I would love to bring this down to less than 2 minutes if possible. I have tried with result sets of 1K and smaller, but that doesn't help.

I thought about doing an LDAP query instead on relying on Exchange cmdlet, but looks archiveName property is not stored in AD and my application needs that property.

By the way, I have three databases in my environment with around 8K users, if I run the cmdlet concurrently, it hogs up whole of my cpu and takes close to 7 minute.

Thanks


Viewing all articles
Browse latest Browse all 8719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>