Move Exchange mailbox stuck in “Queued” state

Few times during last year, I had a “little” problems with moving mailboxes from one database to other. Generally, that is a simple process, but sometimes that’s not working as expected. One of that problems is “queued” state. Get-MoveRequest | Get-MoveRequestStatistics DisplayName StatusDetail TotalMailboxSize TotalArchiveSize PercentComplete ———– ———— —————- —————- ————— John Doe Queued 250…

Read More

Auto-confirm deleting files in Powershell

Have you ever tried to remove a bulk of files from Powershell with command Get-ChildItem “Path” -Recurse | Remove-Item, but you received message: Get-ChildItem E:\Test -Recurse | Remove-Item The item at Microsoft.PowerShell.Core\FileSystem::E:\Test\001 has children and the Recurse parameter was not specified If you continue, all children will be removed with the item. Are you sure you want…

Read More

Manually clearing ConflictAndDeleted DFRS content

If you are ever in Windows Administrator career used DFRS, you must have had “problems” with ConfilicAndDeleted folder. If that folder filled, you could have potential problems with in-time replication between servers. You can do that on two ways manually, and complete process will be finished in few minutes.   Emptying out the ConflictAndDeleted folder without shutting…

Read More

How to rebuild content indexes for Exchange databases

Regardless of whether you have a DAG or a single mailbox database in Exchange infrastructure, sometimes database index can become corrupted and stuck in Failed / FailedAndSuspended state. If you have DAG that could be a problem, because you cannot move database to “failed” node. Rebuilding content index can be done manually with following procedure. This…

Read More

Exchange POP3 service drop connections

Few days ago, I received call from client which had a problem with fetching emails to his gmail account from Exchange 2013. Gmail for that purpose using POP3 protocol, and my troubleshooting started. I created POP3 account in Outlook, Thunderbird, mobile devices, and every time my account is synchronized successfully. But the client still had…

Read More

How to completely disable IPv6

Starting from Vista / Server 2008, Microsoft includes native support for IPv6 and is enabled by default. But sometimes you don’t need IPv6, and want to completely disable IPv6. The proper way to disable IPv6 is to disable via the registry. In registry editor (regedit), navigate to HKLM\System\CurrentControlSet\Services\TCPIP6\Parameters. Create new DWORD (32-bit) value with name DisabledComponents and add…

Read More

Multiple Concurrent RDP Sessions in Windows

In Windows client operating systems, only one simultaneous incoming RDP connection is supported. That’s means that only one user can simultaneously connect to a Windows computer using RDP. When you trying to start the second RDP session, a message “Another user is signed in. If you continue they’ll be disconnected. Do you want to sign…

Read More

How to add Exchange Snapin to Powershell?

When you install Microsoft Exchange, you can manage Exchange infrastructure on two way. Exchange Management Console or Exchange Control Panel from in Exchange 2013 or later. Exchange Management Shell or Powershell. Almost all standard tasks you can do with GUI tools, EMC or ECP, but for many other tasks need to use EMS or Powershell. That…

Read More

List all Exchange mailboxes sorted by size

During last few months, more than few times I received inquiry from clients, where they want list all mailboxes sorted by size. For that action, approximately needed time is 5 minutes, if you know which PowerShell command you need to run. Command Get-Mailbox | Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | Select DisplayName, TotalItemSize will show you…

Read More

Removing default Exchange databases

Every time when you install new Exchange servers, one default mailbox will be created. Of course, each default database has a impractical name, such as Mailbox Database 0123456789. The most Exchange administrators don’t like default names, and like to create their own names. In some moment, you will probably want to remove default database, because “it…

Read More