Folder named “Files” disappears after mailbox is moved to O365 Exchange Online.

Lets say a user had (pleas note the past simple time ^^) a folder named “Files” in the mailbox on the top level, you have moved the mailbox to O365 Exchange Online…

FilesFolder

Continue reading “Folder named “Files” disappears after mailbox is moved to O365 Exchange Online.”

Completely remove whole meetings’ SERIES using PowerShell and EWS.

Hey!

Some time ago I’ve published here a way to remove meetings from calendars using EWS:

https://paweljarosz.wordpress.com/2017/10/09/exchange-online-remove-cancelled-outlook-meetings-using-powershell-and-ews/

I got a bit upset that I needed to run the script from time to time to remove old stalled  cancelled meetings that were there before applying “AutoAccept” calendar processing. We got tons of them believe me, and I wanted to get rid of them completely! But how to remove the whole series and not just meetings for like two years, I wanted not to worry about the meetings even after 5 years, I just didn’t know how to remove the whole series as when people were mentioning about removing the series in the Internet articles, they were usually mentioning how to remove meetings for a long period of time and were calling it by removing a “series”.

Continue reading “Completely remove whole meetings’ SERIES using PowerShell and EWS.”

How to remove litigation hold from mailbox in Exchange Online and clean Purges folder immediately.

When removing litigation hold from mailbox in Exchange Online you need to run these 2 commands in order to start mailbox clean immediately:

Set-Mailbox -Identity "identity" -LitigationHoldEnabled:$false
Set-Mailbox -Identity "identity" -RemoveDelayHoldApplied

Items cannot be deleted from mailbox’s “deleted items” even using MFCMAPI.

Hey,

Just recently I’ve got this weird issue.

Mailbox got stuck. I was able to remove emails from inbox folder and subfolders, even from the Recovery Items folder BUT… not from the deleted items folder.

The behaviour was weird – I was removing some emails and they were reappear after some time, same with MFCMAPI – was clicking hard delete and these bastards didn’t even move.

I was even not able to move the mailbox as it was telling me that mailbox exceeded the quota – I knew it – well, let me remove these emails then!!!

The reason for that appeared very trivial, I’ve been mentioning about this mechanism here: https://paweljarosz.wordpress.com/2015/09/08/singleitemrecovery-in-exchange-2013-recovering-emails-from-purges-folder-with-search-mailbox-cmdlet/

Mailbox had litigation hold enabled and the “Purges” folder on the mailbox got filled up to 100GB. I thouhgt that these emails will be moved to archive but somehow these were still in the mailbox space causign the issue.

Removing the litigation hold allowed to finally delete the emails from deleted items.

Just as a reminder to check what is the size of the “Purges” folder run:

Get-MailboxFolderStatistics -Identity “<mailbox_name>” -FolderScope RecoverableItems -IncludeAnalysis | ft

How to check last run of Mailboxes’ Managed Folder Assistants.

WrongRetentionPolicy.jpg

Let’s say you have published wrong retention policy and you would like to check which mailboxes got this policy applied. To check when the last run of Mailboxes’ Managed Folder Assistant took place you might use below simple script – it is a mess but I’m sure you guys will retrieve from it what you want ^^.

Continue reading “How to check last run of Mailboxes’ Managed Folder Assistants.”

Multiple node graphs on ZABBIX dashboards using Grafana.

zabbix_grafana_dashboards_meme

Just recently ZABBIX 4.0 came out, so I thought we will finally get ability to display values from multiole hosts on one graph – unfortunately not. BUT! There s a way to have it directly in ZABBIX dashboards – using Grafana.

Continue reading “Multiple node graphs on ZABBIX dashboards using Grafana.”