Get Computer Name from Azure Device ID

We have multiple RRAS servers, and occasionally, I need to locate which one a client is connected to for troubleshooting. Now the RRAS console has some inconsistencies, sometimes it displays the computer name, sometime the Azure Device ID (Not the object ID) The Microsoft Docs on the Get-AzureADDevice is woefully incomplete, and it took me …

Read more

Domain Replication Health

I have been doing a fair amount of work upgrading/removing/building domain controllers for a client, and wanted an easy way to check replication health and topology, and came up with this script. It has a GUI and allows for export of results to CSV This requires powershell remoting to be enabled, and a powershell version …

Read more

Introducing Google Bookmarks Manager for GPOs: A Simple and Customizable Tool for Managing Google Bookmarks

Managing Google bookmarks for your organization can be a challenging task, especially when you need to deploy bookmarks across multiple machines using Group Policy Objects (GPOs). To make this process more manageable, we’ve developed the Google Bookmarks Manager for GPOs, a simple and customizable WPF application that allows you to create, edit, import, and export …

Read more

I’m Going Green – Part 2

Read part 1 here. So, in part 1, I was going to use a multiplexer to grab the signals from the MPU6050 gyros. What I hadn’t realised is that these devices communicate over the I2C bus, which is only really meant for on board communications, and short distances. I had to ditch this idea, and …

Read more

I’m Going Green!

Starting small with 3 x 400w panels (Trina 400w panels) giving me a max 1.2Kwh output, paired with 3 x Enphase iq7a inverters and an Enphase Envoy S (metered) So as I bought this, the regulations have changed around “plug in” solar options (In the UK) and now must be wired into their own breaker …

Read more

Check language in Media Files

I have a largish media collection (mainly ripped DVDs) but noticed that somehow, I had managed to rip foreign audio instead of English. A little script can help identify these easily with the help of the PowerShell module “Get-MediaInfo” (The script will install this for you providing the first run is from an elevated PowerShell …

Read more

Post an image from a URL to a Teams Chat/Channel

Now I work for a company where timesheets are mandatory, and it’s become a repetitive chore chasing everyone to remind them to make sure their timesheets are up to date every Friday! So being a fan of all things M365 and automation, I decided to automate this task with a simple Power Automate flow! We …

Read more

Powershell GEOIP Lookup using IPWhois.io

Sometimes, you want to look at a bunch of IPs and figure out where they are coming from. It could be firewall logs, maybe some web host logs. This script was originally developed for a very specific use case, it takes a bunch of IPs in a CSV (with a column header of ‘IP’) and …

Read more

Tail -f in windows

This is a simple PowerShell function that attempts to replicate the Unix command “tail -f” The only downside is that it outputs from the beginning of the file until it reaches the end, then updates the output as new lines are added to the text file. Or you could simply do this with:

Check Domain Controllers for Failed logins

Occasionally, you may have a user whose account is constantly getting locked out. In order to do this, it is necessary to “follow the breadcrumbs” starting with looking on the DCs to see where the authentication request came from. This can be a pain if you have several DCs, so I wrote a little script …

Read more