StalledDueToTarget_ContentIndexing

Migrating mailbox from Exchange Online to Exchange On-Premises and it stops for ages with the status “StalledDueToTarget_ContentIndexing”… This forum post helped… Set-MailboxDatabase “Target Mailbox Database” -IndexEnabled:$False After a while the mailbox move starts up again and completes the mailbox move… Once complete return the Index Start back Set-MailboxDatabase “Target Mailbox Database” -IndexEnabled:$True      …

Dynamic Pick Lists in Powershell

No one likes hard coded lists in script, especially long scripts that might be under change control. Add a new Internet Domain, Server, Mail Database, User Location and you have to go through the whole release test cycle.. However if you just have a Comma Separated Value (CSV) string you would like to present as an…

Making PowerShell Menus…

So PowerShell doesn’t have a user interface as such, but you still need to get user input and in most cases make decisions based on that input to control the flow of script and the end result. I found myself having to craft a mini admin utility this week and ideally it needed to prompt…