O365 Shared Mailboxes – sent items go into users folder

The default behaviour for items sent from a shared mailbox is to go into the users sent items. We had a requirement to save a copy in the shared mailbox sent items folder. this script modifies the mailbox so that email sent either “on behalf” or “as” the mailbox get copied into the shared mailbox’s …

Read more

Show meeting details for an Office 365 Room calendar

The default behavior in Office 365 is to only show meetings in room calendars as ‘busy’ – sometimes you want people to be able to see the details. This is easily changed through a couple of lines of PowerShell. This is caused by the permissions on the ‘default’ user. Let’s look at the permissions – …

Read more

Unlicense Disabled Office 365 Users

We have a constant churn of staff, as does any large organisation. One of the challenges is to ensure that anyone who has left has their account disabled in AD. All good, we have that process. We also use Azure AD Sync to sync users to our Office 365 tenant. Disabling a user however, does …

Read more

Manage AD Thumbnail photos

At a customer site recently, I came across some remnants of a Lync trial where users had thumbnail photos attached to their AD accounts. Trouble was, some of them were wrong, some were missing and some needed to be removed. Now there are plenty of tools out there to manage images, but I wanted to …

Read more

WSUS Reset and Re-Authorize

Recently I came across  a customer site where a lot of the machines had stopped receiving updates from WSUS, despite being visible in the WSUS console and having shown as reported in. I decided to write a powershell script to parse all the machines in AD, stop the Windows Update service, delete the SoftwareDistribution folder, …

Read more

Windows Password Roll Script GUI

Back in may 2014, Microsoft released a patch to fix a vulnerability in Group Policy Preferences which left many people without a method for changing local account passwords. Happily, they also provided a powershell script to allow sys admins to do this. Whilst the script works, it isn’t very elegant or user friendly, indeed one of …

Read more