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.

apt-cache search monit lists "monit – utility for monitoring and managing daemons or similar programs"

Codebase

Last updated:

MySQL Connector/ODBC C# test script

Whenever you need to test your ASP.NET connection to your MySQL database, using ODBC, you can use the following C# test script. Currently it uses MySQL ODBC 8.0 Unicode Driver, but you can easily change the version used

Windows Server

Last updated:

List all SPNs used in your Active Directory

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).

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

Windows Server

Last updated:

How to: Determine installed .NET Framework versions

Users can install and run multiple .NET Framework versions on their computers. When you develop or deploy your app, you might need to know which .NET versions are installed on a machine and here is how to check the .NET version.

Bash logo

GNU/Linux

Last updated:

Release hold queue email in Postfix – postsuper

The postsuper command controls different types of queues in the Postfix mail system, like the deferred or hold queue. This post shows you some Postfix queue operations to maintain your mail servers.

Microsoft SQL Server logo

Windows Server

Last updated:

How to determine if a SQL Server backup is compressed?

Compressed SQL Server backups can be verified in PowerShell using a handy PowerShell function. This comes in handy when you need to verify if existing SQL Server backups are compressed.

four hardbound books - book archive

Windows Server

Last updated:

How to unzip a file in PowerShell

Unzip a file on your PowerShell command-prompt may come in handy sometimes, even on your Windows 11/10 workstation. Use Expand-Archive for this, and all that is required is PowerShell 5.0+, or the .NET 4.5+ Framework to use System.IO.Compression.ZipFile.

WSUS IIS Application Pool Advanced Settings

Windows Server

Last updated:

WsusPool keeps crashing: stops again and again

WSUSPool keeps stopping? Sometimes you find your WSUS server keeps crashing over and over again. The WSUS application pool periodically stops, WSUS is unavailable and/or the WSUS management console hangs.

Anime Dude with Retro-futuristic Jetpack Soaring Above Neon-lit Cityscape

WordPress

Last updated:

Remove Jetpack email sharing service

Remove Jetpack email sharing service using WordPress plugin or theme functions.php file. It’s often abused by spammers

Windows Server

Last updated:

Detect ethernet network speed in Windows

Being able to detect the ethernet network speed using PowerShell or WMI is perfect for Windows Server Core. If you ever need to lookup the speed of your ethernet network card in Windows, on the command-prompt, use one of the following PowerShell / WMIC commands.

WordPress

Last updated:

Check WordPress Core files integrity

Check WordPress integrity and verify WordPress Core files’ md5 checksums against WordPress’ checksums API, using this standalone PHP file.

Enable Win32 long paths through GPO in Windows Server

Windows Server

Last updated:

Enable NTFS long paths through GPO in Windows Server

Windows Server 2016 was released last week, meaning we can finally lift the idiotic 260 characters limitation for NTFS paths. For this, you use a GPO or Group Policy Object in Windows Server.