Powershell: Start using PowerShell using PowerShell Command Builder


Microsoft TechNet site has a great site that enables you to build your own cmdlets using a web drag and drop interface.

There is support for :


Let’s try Office 365 :


You notice the drag and drop interface. First select the verb, for example Get. Click get and the send arrow. Now choose a Noun, for example Msol User:


After selecting the Verb and Noun you notice the other extra options. Fill them in when needed. Now hit the Copy to Clipboard button to copy the PowerShell command to your Clipboard and start using PowerShell to manage your Office 365.

You can find the site here.


Powershell: Connect to Azure Active Directory and Microsoft O365


Use the following Powershell script to connect to Azure Active Directory and Microsoft O365. This enables you to use all the O365 Powershell commands.

#Connecting to Exchange Online and Azure Active Directory

#This first command will import the Azure Active Directory module into your PowerShell session.
Import-Module MSOnline

#Capture administrative credential for future connections.
$credential = get-credential

#Establishes Online Services connection to Azure Active Directory  
Connect-MsolService -Credential $credential

#Creates an Exchange Online session
$ExchangeSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $credential -Authentication Basic -AllowRedirection

#Import session commands
Import-PSSession $ExchangeSession




Tip : FranZ (Software)


A couple of weeks I’m using Franz. Franz is a portal for all your social media accounts, like Skype, Facebook Messenger, WhatsApp etc.


When you – like myself – use multiple cellphones, twitter accounts etc. it’s easy to open them all in the same window. For example, I have 2 whatsapp accounts, telegram, but also my private email in one view. I thank it’s a great solution for all those accounts. You don’t give the credentials to the Franz app although, you still authenticate to the (web)apps you normally login to. Franz is only a webportal/viewer.


Check it out here

And yes.. Franz is free. Glimlach


Office 365 : Disable Clutter (onbelangrijke mail) function


In this post I describe how to disable/enable the Clutter function of O365. The clutter feature is self learning and there are not many options you can specify. You can drag messages to and from the Clutter mailbox so that it can learn how to work. But sometimes you want do disable this function for specific mailboxes.

To disable Clutter for the entire organization you can use the following Powershell command:

Get-Mailbox | Set-Clutter -Enable $false

To disable Clutter for a single mailbox use the following command :

Set-Clutter -Identity helpdesk -Enable $false

To enable Clutter replace $false by $true




Remove accidental deletion protection



Use the following steps to remove the following error when you wish to delete an OU container:



Open Active Directory Users and Computers. Goto the specific OU. Open properties, security, advanced.


Remove the Deny Everyone access rule (first rule). Et voila, you’re good to go!


Office 365 Powershell: Delegate Calender rights


Use the following steps to delegate (Calender) rights to a specific user.

First step specify your (administrator) credentials:

$LiveCred = Get-Credential

Create the session:

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $LiveCred -Authentication Basic –AllowRedirection

Now import the Office 365 session using the following command:

Import-PSSession $Session

Use the following command to delegate the calender from user1 to specified user2

Add-MailboxFolderPermission -Identity\calendar -user -AccessRights Editor


Et voilà! The calender rights are set.

FREE NFR Key for Veeam Availability Suite V9


Great news from my sponsor VEEAM. When you are a vExpert, MVP, VTEC Member, Certified Engineer and/or Trainer you have the option to receive a free NFR key (2 sockets) of the VEEAM Availability Suite V9. Click on their banner right of this page!


Howto : Backup to Azure with your Synology


Like many other people I use a Synology NAS for back-up purposes. All my backup data and other files is stored on the single device. But what when there is a problem with that device or your house (or office) is burned down to the ground. You won’t be able to gain access to your Synology and your data.

There are many (and I mean many!) services and (Cloud backup) providers who offer services to let you use their storage to backup to. Nice idea, great service. But…. not always very cheap. I have several Synology’s and many TB stored on them.

I tested several solutions and found out that backup to Azure was the right solution for me! In this blogpost I shall describe to few simple steps for you. You need 2 things:

  1. Synology Device
  2. Microsoft Azure Account (free trial available, go to

First step, we must create a storage account.


Ok, go through the following step to create a storage account :


Ok, you have to wait a few seconds for Microsoft to let that account be created. When the storage account is created you have to access the properties and go to Access Keys.


You need the Storage Account Name and the Access Key (KEY1 or KEY2) later.

Now go to your Synology. Ofcourse you are running the latest version and go to Hyper Backup.


Click the + button to add a back-up job.


Wow! We see the AZR Cloud already, let’s select that!


Fill in you Account name and copy/paste the contents of KEY1:


You have the option to backup some applications, let’s skip that.


Fill in the appropriate information and you are all done!

The costs are as follows :

  1. You pay 0,02 cent (euro) for every GB of storage
  2. When you back-up 20 TB, you pay approx 20 euro each month
  3. You only pay for storage and restoring, not for uploading.
  4. When you restore the entire 1 TB storage you pay 1x approx 72 euro

How to export an Exchange Mailbox to PST


Exchange 2010 SP1 and later doesn’t allow by default for any user to export a mailbox. You have to assign those rights to a specific user. Use the following command :


New-ManagementRoleAssignment –Role "Mailbox Import Export" –User domain\user


Now that we have an user with the appropriate rights, make sure you have the location ready where you wish to store the PST files. Make sure that this folder has read/write rights to the Exchange Trusted Subsystem :


Now export the mailbox to a PST with the following command:

New-MailboxExportRequest –Mailbox user –FilePath \\servername\Export\user.pst


Use the following command to show the progress


Get-MailboxExportRequest -Name MailboxExport | fl


When the export has been completed, remove the mailbox from the old Exchange system using the following command:

Get-MailboxExportRequest | where {$_.status -eq "Completed"}

Office 365 Enabling archiving


Use the following steps to enable archiving using Office 365.

Go to


Select administrator/beheerder. Go to the list of enabled users.

Select Exchange properties


Now the specified user has Archiving rights. So all data in the archive folder is not part of the 50 GB storage limitation. Let’s open Outlook Web Access and notice the Archive button:


When you select an email message you can easily archive that message. It will appear in the archive folder in your mailbox :


or when using Outlook:


Emailmessages are still enabled for indexing and search requests.

Go to Top