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…

Very Simple Powershell Ping test or IP scanner script

By Tom Kitching

This simple Powershell script will carry out a quick check against each IP in a 24 bit subnet and return a value of true or false dependent on whether or not it receives a reply.  It’s similar to using an IP scanner or a ping script.

It’s simple and does the job as it…

Add AD security group to local administrators on Hyper-V server running core

By admin

First connect to the remote server with powershell

Next run the command to add the group:

If you’re paranoid (like me) and want to check this worked you can use: