get mounted databases on a server and count it
get mounted databases on a server and count it
Get-MailboxDatabaseCopyStatus -Server <Servername> | Where-object {$_.status -eq "mounted"} | measure-object
The O-Xchange team actively blogs useful information or solutions to problems in the IT world with particular focus on Microsoft Windows servers, Exchange servers, Lync, Skype for Business, Networking, Security, Software Development, Digital Media, Tools, Tips/Tricks, Scripts, etc. Looking for job? Go to http://recruit.o-xchange.com