Powershell script to find scheduled tasks on all servers or computers in the domain.

By Tom Kitching

First off lets get all the set up variables out of the way. A lot of these are the same variables I use in every script and I just copy them in each time so you may not want to use them all.

I like to use Write-Output to add the actions to the…

Powershell Script to Create Random Complex Passwords suitable for O365

By Tom Kitching

This script enables you to generate a set of random complex passwords for a list of users which is imported as a CSV file.  The password will contain upper and lowercase letters, symbols, numbers and will always be between 8-16 characters in length (meeting the O365 requirements).  Obviously the functions can be tweaked to make…

O365 – reverting hard matching migration using ImmutableID

By Tom Kitching

This is a very obscure problem, so I’m recording this more for my own reference in future rather than expecting anyone else to have the same issue! The issue occurs when a migration from a hybrid exchange domain to another domain which uses AD Sync has been completed in the following manner: filter/delete user in…