Featured Articles

Useful

OpenSSL Cheat Sheet: Common SSL / TLS Commands

Never forget an OpenSSL command again. This comprehensive cheat sheet covers certificate conversion (PFX, PEM, DER), CSR generation, and remote SSL / TLS verification for Windows and Linux admins.


Latest articles
DevOps/SysOps Infrastructure as a Service flow

Windows Server

Last updated:

Windows 11 and WSL 2 DevOps environment

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.

Microsoft SQL Server logo

Windows Server

Last updated:

Fix broken WMI provider in SQL Server

Being unable to open SQL Server Configuration Manager is often caused by a corrupt or removed WMI provider for SQL Server. This post explains how to resolve this.

SQL Server Management Studio v21

Windows Server

Last updated:

Update SQL Server Management Studio (SSMS) automatically

The fire-and-forget method to update SQL Server Management Studio (SSMS) automatically by uninstalling any installed version and downloading & installing the newest available version from Microsoft.

Windows Server

Last updated:

Create strong passwords in Windows

Learn how to create strong and unique passwords in Windows using PowerShell, because the use of those unique and strong passwords is important.

Install IIS and Windows Features using PowerShell

Windows Server

Last updated:

Install IIS in Windows 11 using PowerShell

Have a need for IIS in your Windows 11 development station, and now you wonder how to install IIS? Here I describe how you can easily install IIS and some modules using PowerShell

Useful

Last updated:

Calculate SHA-256 checksums in PowerShell

Learn how to calculate and create file checksums with PowerShell’s Get-FileHash and certutil.exe. Use this to validate file integrity in Windows (Windows Server).

Ping IPv6 address in WSL 2 Bash

Windows Server

Last updated:

IPv6 support for WSL2! 🥳

Windows Subsystem for Linux (WSL) 2 now has native support for IPv6! 🥳

Windows Server

Last updated:

Windows SID to username and vice versa

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

Windows Server

Last updated:

Get SQL database backup details with PowerShell

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…

Zabbix logo

Windows Server

Last updated:

Get IIS Current Connections using PowerShell

Use PowerShell, Performance Counters and WMI to get the current number of active connections to IIS websites. Monitor IIS servers in Zabbix

Padlock Locked on Gate

Windows Server

Last updated:

Install SSL / TLS certificates in Windows Server using PowerShell

The following PowerShell snippet can be used to quickly install an SSL (or TLS) certificate in Windows Server. It assumes you have a PFX file and its password. The default location is Cert:\LocalMachine\My, to use for IIS websites.

Windows Server logo

Windows Server

Last updated:

Tune Windows Server TCP/IP and IIS

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

Windows Server

Last updated:

Install Windows Updates using PowerShell

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.

Codebase

Last updated:

Send email with PowerShell

Easily send your DevOps reporting by email with this PowerShell function, because the Send-MailMessage cmdlet is obsolete. Of course you’ll be using StartTLS and authenticated SMTP as additional security.

Microsoft SQL Server logo

Windows Server

Last updated:

Create an additional SQL Server Login

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.

Share via
Copy link