Windows SID to username and vice versa

2023-09-03

Old school: learn how to convert a Windows SID (security identifier) to an username, or vice versa (username to SID) using PowerShell and VBScript. Because sometimes you just need to convert a Windows SID to an username, don't you?

Microsoft SQL Server logo

Get SQL database backup details with PowerShell

2023-08-21

Whenever I need to restore an SQL Server .bak backup file, I want to know some properties of the backup file to make sure I'm working with the correct file(s). Luckily, the .bak file and PowerShell provide all the information I need, so I don't have to start a Restore procedure in SQL Server Management Studio (SSMS) just to view the header information. As you know, SSMS is slow...

Windows Server logo

Tune Windows Server TCP/IP and IIS

2023-06-21

In this small post I'll guide you through the various Windows Server and IIS configuration settings, for an optimized network performance, high performance websites and high volume of web requests.

PowerShell Get-Command PSWindowsUpdate lists all available cmdlets within the PSWindowsUpdate module

Install Windows Updates using PowerShell

2023-03-15

You can use PowerShell to install Windows Updates automatically, unattended and simple. Neat, right? For this, you don't have to have an enterprise environment with WSUS, or Windows Server, but since this is Sysadmins of the North, I assume you do. In this post I show you how to install Windows Updates with PowerShell and the PSWindowsUpdate module.

Microsoft SQL Server logo

Create an additional SQL Server Login

2022-12-27

Sometimes you need to create an additional SQL Server Login (user) for your database (databases). Here is a small T-SQL snippet that creates such a login for contained databases in SQL Server and adds memberships.

Microsoft SQL Server logo

Monitor SQL Server and databases in depth using Zabbix

2022-12-20

Monitor Microsoft SQL Server, databases and performance with Zabbix, PowerShell, Performance Counters and WMI. Keep SQL Server and databases in top shape and performance up! In this post I show you how you can use Zabbix to monitor those important aspects for database administrators (DBA).

Extract files from an MSI package

2022-11-02

Stop hunting for command-line arguments. Learn the definitive way to extract files from an MSI package using the msiexec /a switch, TARGETDIR, and PowerShell for automated deployments.

DevOps/SysOps Infrastructure as a Service flow

Windows 11 and WSL 2 DevOps environment

2022-08-15

In this post I describe some of the settings and changes I made to make my Windows 11 and Ubuntu WSL2 into a fully fledged development environment. Here are the settings and tools I use for DevOps / SysOps on Windows.

YubiKey support in OpenSSH for Windows 11

2022-08-14

Secure your Windows 11 environment by moving SSH private keys to hardware. Learn how to configure YubiKey FIDO2/U2F support in native OpenSSH, manage the ssh-agent, and eliminate file-based credential risks.