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…

Migrate O365 mailboxes using Hard Matching with ImmutableID

By Tom Kitching

I have been working on a mail migration within an environment that has a Hybrid Exchange configuration with a single 365 tenant but which synchronises Active Directory from multiple forests. As part of the migration there is a need to migrate on-prem user accounts from a legacy forest into a new forest, but the accounts…

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…