Watching Files with Powershell
Uatu, the powershell script
I needed to watch a folder to see when files were created. I also decided to check for deleted files, below is the script. You can, of course, just look at the folder to see this in explorer. In this case, we had some files moving from one folder to... [Read More]
Bookmarklets for Scheduled Tasks in ServiceNow (creation and direct URL)
Little helpers for ServiceNow ScheduledTasks
So, recently we’ve moved over to ServiceNow for incident/request management. There are two things I wanted to be able to do: [Read More]
Listing Documents via Jekyll without collections
How to avoid configuration files for document meta-data? Just use the file names!
Recently, I moved all of our static sites over to hosting on github using github pages. Github uses jekyll for generation of the static content and there are tons of themes out there to utilize. [Read More]
Running PiHole on a Raspberry Pi Docker Swarm
OK, so this was a bit entertaining. There are a ton of articles out there on how to get a Docker Swarm running on a RasPi cluster. Basically, just get all of the Pis up, updated, and setup with static/reserved IPs, then install docker, then run the docker swarm init... [Read More]
Add Global Admin Directory Role in Azure AD via Powershell CLI
RBAC, why do you hate me?
Note that this won’t work in the azure portal powershell console or in a docker container as those do not seem to be able to let you login to the azure ad interactively. [Read More]
Setting up Raspberry Pi Zero redundant PiHole Ad Blocker
Block Ads on your Network
I am a big fan of pihole. I had used it a little bit off and on for a couple of years a while back, and finally implemented it as a permanent part of my home network a couple of years ago. I’ve been a happy camper ever since. [Read More]
VMware Snapshot Removal Stuck At 99 Percent
To cancel or not to cancel?
So recently we were performing some patching on a critical server in production. This server had not been rebooted or patched in many years due to downtime concerns, but the time had come that it needed to be patched as the system had become unstable forcing us to do the... [Read More]
Queue up or pre-download windows updates with powershell
How did we get here?
I hope no one reading this ever actually has to do this. In my case, I have some old’ish servers that have very limited downtime windows. While I was updating these I noticed that a lot of them still did not actually ‘download’ the updates even though they were set... [Read More]
Quick Performance Monitoring from Powershell
but why tho
If, you wanted to take a quick peak, using powershell, on some performance metric and show it in write-progress, here’s how you would do it. [Read More]