[HOWTO] Fix EventLog Invalid Handle and Powershell Invalid Class
Lately I have been busy with upgrading a lot of servers from Windows 2012R2 and Windows 2016 to Windows Server 2019. The majority of these upgrades have gone through without a hitch. But of course,...
View Article[HOWTO] EC2Launch – agent failed to assume identity
The other day I stumbled upon a string of similar events logged from some of my Windows EC2 instances in regards to the SSM Agent. It simply refused to start up, and examining the log files, I could...
View Article[HOWTO] Active Directory Replication fails – The target principal name is...
I was doing some maintenance work on one of the many different environments I help maintain today when I noticed that Active Directory replication failed to one of the Domain Controllers in the...
View Article[HOWTO] – PowerShell’s Invoke-WebRequest is very slow
Preface If you have ever used the PowerShell cmdlet Invoke-WebRequest to download content, you might have observed that it is terribly slow. Files that typically download within seconds with any web...
View Article[HOWTO] – Get a list of repositories from Docker Hub using PowerShell
The other day, I had the need to get a list of all the repositories from an organization in DockerHub to gather some statistics. Being a huge advocate I wanted to do this in PowerShell, as this makes...
View Article[HOWTO] Setup secondary network card (NIC) on Ubuntu in AWS
This simple how-to enables a secondary network card on an Ubuntu instance running Amazon AWS EC2. It assumes a setup where the primary network card is in a private subnet, and the secondary network...
View Article[HOWTO] Get the main group name for a username using Ansible
The other day I needed a way to get the main group of a user account in a playbook in Ansible. I figured there was a way to do this using native methods in Ansible, which proved correct. You can...
View Article[HOWTO] GitLab – Remove Two Factor Authentication (MFA) from an account in...
The other day I was faced with the challenge of restoring an old backup of a GitLab instance. This is in itself is fairly straightforward process, as long as you follow the correct upgrade path....
View Article[HOWTO] Upgrade all Python packages after Ubuntu distribution upgrade
If you are anything like me, you use Python extensively for a wide range of different tasks. My main usage for Python is through Ansible, a tool I use often. It’s an invaluable tool which I simply...
View Article[HOWTO] Could not find a login matching the name provided. [CLIENT: ]
In the process of expanding my home lab, I ran into an issue as I was setting up a Microsoft SQL Server instance in my network. The installation breezed through without a hitch, and every service...
View Article