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.


Powershell : How to identify (and delete) specific email messages from Office 365


I was looking for a way to identify messages in my Outlook Mailbox and easily delete them.

First connect to Office 365 with you (admin) credentials using the LiveCred command.

Set the Execution Policy and import the commandlets.

Using the next command creates an export of all emails from the specified user in the emailbox username and puts that export in the mailbox of user target mailbox and creates an folder called Searchlogs.

$LiveCred = Get-Credential

Set-ExecutionPolicy RemoteSigned (Make sure you open Powershell with Administrator Rights!)
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri -Credential $LiveCred -Authentication Basic -AllowRedirection
Import-PSSession $Session
$Session Get-Mailbox username | Search-Mailbox -SearchQuery from:"" -TargetMailbox info -TargetFolder SearchLogs -LogOnly -LogLevel Full


In that folder you find the logging of the files specified :



Open the zip file containing the CSV export.


When you are ready to delete those files use the following command :

Search-Mailbox -Identity username -SearchQuery From:"" –DeleteContent

Now all the files from the specified user are deleted. You can also use the -subject:’subjectname” switch.


Agenda NLVMUG Usercon 2016 is bekend


17 Maart is de NLVMUG UserCon 2016. Een aantal namen waren al bekend, maar nu is het officieel.

Kijk snel voor de complete agenda op:

Zelf ben ik er ook, dus misschien zie ik je daar!


How to publish a remoteapp (Azure)


In this article I describe how to publish a remoteapp using Microsoft Azure. First login to the Azure Portal using your (admin) creds and create a RemoteApp :


After you select the +NEW button use the following steps to create a RemoteApp:


Give a name, the region you wish the data to be stored and the plan details. Notice that by default there are 3 images to choose from. In this example who use the default available. In a later post I shall describe how to use your own images. After you click Create RemoteApp Collection, your RemoteApp Collection will be created. This can take a couple of minutes. When this task is finished you see something like this :


The name, status, address and other information is displayed. Double-click this bar.

You notice this screen:


You have several options : Dashboard (this page), User Access (control which users have access), Publishing (choose which applications to publish), Sessions (see the current sessions), Scale (scale your RemoteApp)

Click publish remoteapp programs!


Now you can choose from a list of programs installed in the image you choose before. Select any of them. You see the selected program being published. You can go to the publishing menu and you see al the Apps which are published as a RemoteApp.


It’s also an option to manually enter programs when you now the exact path or any one which is listed in the start menu. Ok! We are ready to go. Let’s download the Azure RemoteApp client here. After you have installed the client, let’s start the client! Login as the user you gave access to earlier. (users) and you see something like this :


Let’s start Visio for example :


The first time to application is set up (profile etc) and so it takes a bit langer to start the application.

Et voila Visio is started! You don’t see the difference between Visio installed locally or as a RemoteApp :


Difference between the 2 Intune Agents


When deploying Intune, you have 2 options. In the following table you see the difference between them :

Stand-alone Hybrid
Administration with ConfigMgr No Yes
Supported Devices IOS 6+, Android 4+, Windows Workstations, Windows RT, Windows Phone 8+ IOS 6+, Android 4+, Windows Workstations and Servers, Windows RT, Windows Phone 8+, Linux Servers, Mac OSX
Maximum nr of managed device count 50.000 mobile devices, 7000 mixed mobile devices and PC’s 50000 with ConfigMgr, 100.000 with a dedicated ConfigMgr primary site
On-premises infrastructure required No Yes
Extensible and customizale (inventory, reporting, third-party) No Yes
Simple web Console accessible from anywhere Yes No
Requires client connectivity to the internet Yes No
Integrated Operating System Deployment No Yes
Retire and wipe devices Yes Yes
Full-featured app deployment Yes Yes
Software Updates Yes Yes
Endpoint protection Yes Yes
App-V Integration No Yes
Software Metering No Yes
Rapid updates to features and capabilities with no upgrades required Yes Using ConfigMgr 2012R2

Reset your Chromebook


Use the following steps to reset your (Personal) Chromebook :

  1. Sign in to your Chromebook.
  2. Click the status area where your account picture appears.
  3. Click Settings > Show advanced settings.
  4. In the Powerwash section, click Reset.
  5. In the box that appears, click Restart and sign in with your Google Account.
    Note: The account you sign in with after you reset your Chromebook will be the owner account.
  6. Follow the instructions in the box.
Go to Top