Windows Server

Last updated:

Emulate ternary operator in PowerShell

PowerShell ternary operator emulation for PowerShell 5.1. Quick and dirty determine if a condition is true or false by emulating the ternary operator. For example when determinering if the server you are servicing is a Windows Server Desktop Experience version or not (and thus Server Core).

OpenSSH SSH Server Properties in Windows Server

Windows Server

Last updated:

Install OpenSSH in Windows Server

Learn how to install and enable the built-in OpenSSH Server on Windows, customize its installation directory and configure your `sshd_config` file.

Windows Server logo

Windows Server

Last updated:

Force BITS to download WSUS updates in the foreground in Windows Server

WSUS uses BITS for downloading updates, and it does so in background mode. Unfortunately, this utilizes remaining bandwidth of the server instead of its full capacity. To speed up WSUS downloads, you can configure BITS in WSUS to use foreground priority.

virt-manager - virtual machine manager logo

Windows Server

Last updated:

Managing KVM VMs with virt-manager on Windows

In this post, I will show you how to connect to your KVM VMs (virtual machines) in Windows 10 via SSH using virt-manager (Virtual Machine Manager) and qemu+ssh://. This allows you to manage your virtual machines from Windows.

IIS FTP IP Address and Domain Restrictions

Windows Server

Last updated:

IIS 10.0 FTP IP Security allow list

In this post I’ll show you how to configure an IP allow list for IIS FTP Server using PowerShell, iisadministration and webadministration modules.

Windows Server

Last updated:

IIS backup and restore

Learn how to back up and restore IIS 10 webserver configuration with appcmd.exe and PowerShell

Windows Server

Last updated:

Import .reg file in Windows Registry silently

Learn how to silently import a .reg file into your Windows Registry. This neat regedit trick comes in handy quite often. The regedit command is valid for Windows 11, 10, Windows Server 2022, 2019 and older.

Windows Server

Last updated:

How to set SVN_EDITOR environment variable in Windows Server

Set SVN_EDITOR environment variable in Windows Server to resolve the svn error “None of the environment variables SVN_EDITOR, VISUAL or EDITOR is set, and no ‘editor-cmd’ run-time configuration option was found.”

Windows Server

Last updated:

Manually failover all databases in an SQL Server Database Mirroring configuration

A manual SQL Server failover can only be initiated from the principal server, and the mirrored database must be synchronized (that is, when the database is in the SYNCHRONIZED state). In this article I will show you how to manual failover mirrored SQL Server databases using Transact-SQL (T-SQL) in SQL Server 2017 and up.

Windows Server

Last updated:

List all SPNs used in your Active Directory

Using setspn.exe: 3 unique methods to list Service Principal Names (SPNs) in your Windows network quickly using PowerShell / CMD.exe. An SPN or Service Principal Name is a unique identity for a service, mapped with a specific account.

Windows Server logo

Windows Server

Last updated:

Windows Server 2016 VM on Hyper-V stuck at stopping

If a Windows Server 2016 guest VM on Hyper-V hangs while stopping after Windows Updates, and it won’t reboot, it might be caused by the recovery debug information type set. Especially when you have moved the Windows PageFile to a different partition / VHDX