Remove Office 365 license from a Computer with PowerShell

One of my users got a notice in Office 2016 that he needed to reactivate his Office 365 subscription. After clicking reactivated a warning came up that “there was a problem with your Office 365 subscription, and we need your help to fix it“. The problem was that the registered license belonged to a user … Read moreRemove Office 365 license from a Computer with PowerShell

Enabling in-place archive for all users with PowerShell

The In-Place Archive that you get with Exchange Online, provides your users with additional storage space. With PowerShell we can enable the archive mailboxes quickly for all users. Connect to Exchange Online First we need to connect to Exchange Online, you can use this connector script or run the following code:

Or with the connector script:

Read moreEnabling in-place archive for all users with PowerShell

Setting up your PowerShell Environment with PowerShell Profile

If you are using PowerShell frequently you might want to change some default settings to modify your PowerShell window. We can do this by creating a PowerShell Profile where you can add Alias for function you use a lot, load modules at startup, change the root directory or add path variables. First we need to check if … Read moreSetting up your PowerShell Environment with PowerShell Profile

Setting up Single Sign On (SSO) with Azure AD Connect

With the new version of Azure AD Connect you can enable the Single Sign-On option in combination with either Password synchronization or Pass-through Authentication. When enabled with Modern Authentication for Office 2016 users only have to type their username and do not need to type their password to sign in to Office applications of other … Read moreSetting up Single Sign On (SSO) with Azure AD Connect

Error 0xFFFD0000 after running Powershell Scheduled task

I use a lot of scheduled Powershell tasks to make my life as SysAdmin a bit easier. Recently one of the scripts returns error 0xFFFD0000 as the last result.  The task used to work, so I started checking the script, run it step by step to see where the error originates. The script didn’t throw any … Read moreError 0xFFFD0000 after running Powershell Scheduled task

Fix not charging Philips Lumea by Replacing Batteries

UPDATE: An electronics designer, Shamus Husheer, from the UK contacted me. He found another, cheaper, solution to fix the Lumea battery Charging issue. You can find the post here. A little DIY post that I like to share with you guys. My wife bought a Philips Lumea a couple of years ago. She didn’t use it … Read moreFix not charging Philips Lumea by Replacing Batteries

Fix Word zeroday vulnerability with SRP

There is a new zeroday attack that is installing malware on a fully patched Window machine. It uses a vulnerability in all versions of Microsoft Word. The attack start with an e-mail, with a malicious Word document, once opened the exploit code downloads a malicious HTML application file that looks like a RTF document. Behind … Read moreFix Word zeroday vulnerability with SRP

Add users to Security and Compliance Retention Policy with Powershell

To preserve your Office 365 content you can use Retention Policy that you can create in the Security and Compliance Center. An important step is to add the users to the policy. This can easily be done with PowerShell. This way we can also automatically add new users to an existing retention policy by running … Read moreAdd users to Security and Compliance Retention Policy with Powershell

Disabling automatic creation of direct reports groups

Starting in April 2017, Office 365 will start with automatically creating direct reports groups in Outlook if you have managers with 2 to 20 direct reports. Depending on the size of your company this feature can create a lot of private Outlook groups, and it’s on by default! The groups will be named “<Manager’s Name>’s … Read moreDisabling automatic creation of direct reports groups