2020-12-22
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).
2020-12-09
Easily find out whether an update or patch is installed. Or not... With PowerShell
2020-11-09
Microsoft have released their OpenSSH port for Windows Server and Windows 10 back in 2015. Here is how to install the OpenSSH Server on Windows Server 2022, 2019 and 2016.
2020-10-22
Follow this if you have no more need for Windows Server IIS and want to remove IIS completely from Windows Server using PowerShell
2020-09-24
HTTP Basic Authentication managed module for IIS enables HTTP Basic Authentication with virtual user support in Windows Server IIS.
2020-09-18
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.
2020-06-02
When you migrate a file server and transfer data, you may need to recreate junction points, as they cannot be copied using (for example) Robocopy.exe. This makes it a must to know where you have junction points, and NTFS hard and soft links. This is where PowerShell comes to the rescue.
2020-05-08
Find vulnerable WordPress plugins fast using PowerShell on Windows Server and IIS
2020-02-26
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.
2020-01-27
This post contains some example WMI filters for you to use in Group Policy Objects (GPOs) to target and manage specific Windows Server versions like 2012R2, 2016 and Windows Server 2022 / 2019.
2020-01-21
In this post I'll show you how to configure an IP allow list for IIS FTP Server using PowerShell, iisadministration and webadministration modules.
2019-11-04
Learn how to back up and restore IIS 10 webserver configuration with appcmd.exe and PowerShell
2019-08-15
Using -SeachBase with PowerShell's Get-ADComputer gives me faster results with AD DS queries.
2019-06-12
Install Servicing Stack Updates (SSU) for Windows Server 2012R2, 2016 and Windows Server 2019 using PowerShell, without downtime.
2019-03-10
A couple of years ago, I wrote a blog article about setting up Monit monitoring on an Ubuntu VM on Hyper-V. Now it’s time to do the same, but then in Windows Subsystem for Linux, or WSL. So, without further ado, here is how to install and configure Monit monitoring in Windows 10 WSL.
2018-12-01
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.
2018-10-29
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."
2018-10-25
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.
2018-02-28
3 unique methods to list Service Principal Names (SPNs) in your Windows network quickly using PowerShell. An SPN or Service Principal Name is a unique identity for a service, mapped with a specific account (mostly service account).
2018-02-28
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