four hardbound books - book archive

How to unzip a file in PowerShell

2017-08-30

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.

Detect ethernet network speed in Windows

2017-05-12

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.

Free up disk space in Windows Server – 5 extra methods

2016-08-16

In this post I provide you with 5 ways to cleanup files and free up disk space in Windows Server 2016 (and older / newer Windows Server version), without using the Disk Cleanup Utility. Reclaim lots of lost gigabytes easy. Disk space usage is still an issue in Windows Server.

List all MAC addresses of all Hyper-V Virtual Machines

2016-08-12

You sometimes need to list and get all MAC addresses of all Hyper-V virtual machines in your network. Either for your Hyper-V administration or provisioning if you don't set an unique MAC address automatically. Here is how to get all those MAC addresses easily with PowerShell.

Swiss Army knife, a red and silver multi tool

AppCmd introduction and examples

2016-05-17

The AppCmd.exe command is your one-stop-shop for administering Windows Server IIS web servers. In combination with WinRM it is your Swiss Army knife for your daily routine. This post introduces appcmd and provides you with a lot of helpful appcmd examples.

Important Windows Maintenance – 7+ Tips

2015-11-28

Regular maintenance of a Windows computer significantly improves performance and reliability. Manual execution of maintenance tasks complements the automatic maintenance already scheduled by Windows, giving users greater control over how system resources are managed and how repairs are conducted. This article explains how to use tools such as SFC, DISM, CHKDSK, and disk defragmentation.

How to block BaiduSpider bot User-Agent?

2015-08-08

The Baidu spider (BaiduSpider user agent) can be a real pain to block, especially since it does not respect a robots.txt as it should. This post shows you how to block Baidu Spider bot, using IIS URL Rewrite Module based on its User-Agent string.