PowerShell Scripting for an overly specific problem

On our school laptops, for whatever reason, the applications menu from settings has been removed. As a result, you cannot uninstall any non-Microsoft store applications - it just tries to open a settings menu that we can’t access. So, I thought it would be worthwhile to build a PowerShell script to tap into the Uninstall Information registry keys - and get the uninstall paths from here. It also has some other features, such as: ...

July 27, 2025 · 1 min · 128 words · Vivaan M

Some Notes on the UniFi APs

I recently learnt that you can control the UniFi APs LEDs via SSH, which allows you to script their control. This means that I can change what colour they are using, and schedule them to turn on and off automatically - see here for that. However, I though it might be worth making a small post regarding exactly what I found. DISCLAIMER: Proceed at your own risk. These have been tested on a U7 Pro, and are unlikely to have any catastrophic problems on other APs, but be careful regardless. ...

July 23, 2025 · 3 min · 481 words · Vivaan M

Automating Node Provisioning

I’m planning to possibly add a Raspberry Pi 2 (Old, I know, but it does the job) to my lab, for providing some key network services. It will be dedicated to this, reducing the risk of another service breaking and bringing down both the lab, and the network. I thought it might be worth scripting the setup process, as it’s a pretty repetitive process. What does each node need? It must be a part of the tailnet It must have docker installed on it It must have access to the /ultmt folder, whether its via a CIFS mount, or using glusterfs-client It must use the LLDAP server for centralised authentication It must have the main 5 nodes in its hosts file, in case DNS fails It must have certain tools/packages installed I want it to be very general, in the sense that I can use it for things other then just the nodes of the server, say if I want one specific computer to authenticate against my LLDAP server. ...

June 8, 2025 · 1 min · 175 words · Vivaan M

Networking in the House

Let me just start by saying that I do not need any of this, it is more-or-less just because I can, and want to. Internet We have a gigabit fibre connection running into our house. I’d love to have multiple WAN for failover, but frankly, it’s not worth it, as we have high enough uptime with our current ISP alone. Internal network From there, it heads into our ISP modem, then ISP router, and then straight into our main 8-port switch. This, then connects to out PoE switch, which powers our two Unifi U7 Pro access points (that’s what the Unifi Controller is for). There are also 3 cables that then come out of the 8-port switch. Two for the Raspberry Pis, and one for my laptop. This allows all the server nodes to have the fastest possible internet connection they can have. ...

May 24, 2025 · 3 min · 590 words · Vivaan M

Introduction to the lab

Nodes Let’s take a look into what the ‘(home)lab’ (that’s quite a generous word) consists of… 1 Raspberry Pi 5 1 Raspberry Pi 3 2 Oracle cloud free-tier VMs My other laptop, which adds some power to the ‘cluster’ when I’m not using it So in the grand scheme of things, it’s not that powerful. But that also adds to the challenge, as things might need some tweaking to get working. Of course, this comes with the caveat of wanting to drop-kick my laptop out of the windows when things don’t work, but it’s all part of the fun…, right? ...

May 21, 2025 · 3 min · 528 words · Vivaan M