Here’s a script I’ve put together that will retrieve the current user sessions from a remote host using psexec.exe. Then, it executes a scriptblock using the current user session context. Simple, but very powerful. I would suggest not running this in an enterprise environment if you would like to stay in your security team’s good…
Category: Hobby
Posts pertaining to hobby projects
PowerShell, Reddit, Confetti, and Rick Astley
The other day, I came across this Reddit post on r/sysadmin: https://reddit.com/r/sysadmin/s/FkC30bMxCJ The OP explains that his CEO has requested that he make confetti appear on everyone’s screen simultaneously to celebrate a milestone. I found the absurdity of the request hilarious. And, I took it as a challenge to script something similar- but I took…
Homelab – SSD Types and VM Performance
The idea that Solid-State Drives (SSDs) have superior performance when compared to the Hard Disk Drives (HDDs) of yesteryear has become common amongst administrators. And, for many applications, SSDs have now proven themselves. Many administrators have not indulged beyond this concept. However, if you are building a machine with performance in mind, you might take…
Homelab – Hardware Hacking – Add Custom Pi Pico Controls to USB Switch
A USB switch is a convenient piece of hardware to have in your homelab if you’d like to interact with multiple boxes from your same mouse and keyboard. I have one that from the factory, allowed one to cycle through a selection to choose a device, but you could not select and go directly to…
Homelab- Active Office Cooling
Earlier this year, I rewired my basement to create individual circuits for my garage and office. Before, the entire basement (including the garage) was all on one circuit. I decided I was tired of having my network go down every time I would trip a breaker in the garage – which, admittedly, happens all too…