Windows Server

Last updated:

Free up disk space in Windows Server – 5 extra methods

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.

Windows Server

Last updated:

List all MAC addresses of all Hyper-V Virtual Machines

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.

IIS URL Rewrite Module error: IIS Version 7.0 or greater is required to install IIS URL Rewrite Module 2.

Windows Server

Last updated:

How to install IIS URL Rewrite Module on Windows Server 2016 & IIS 10

When you start to play with Windows Server 2016 and IIS 10, you’ll get an error when you try to install the IIS URL Rewrite Module in IIS. The error occurs because the URL Rewrite Module installer contains an invalid version check for the IIS being used. Here is how to install IIS URL Rewrite Module 2 in IIS 10…

Swiss Army knife, a red and silver multi tool

Windows Server

Last updated:

AppCmd introduction and examples

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.

Windows Server

Last updated:

Important Windows Maintenance – 7+ Tips

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.

Keys

Useful

Last updated:

Generate pseudorandom passwords with OpenSSL

OpenSSL comes in handy when you need to generate passwords or random strings. For example for system accounts and services. In this short post I’ll give you a quick example on how to generate random passwords with OpenSSL in Linux (Bash), Windows and PHP.

Codebase

Last updated:

PowerShell return value, exit code, or ErrorLevel equivalent

Verifying PowerShell exit code using the $? operator or $LASTEXITCODE is how you find out whether an external command was executed successfully in PowerShell. The operator $? contains True if the last operation succeeded and False otherwise.

PuTTY Reconfiguration screen to tunnel RDP over ssh

Windows Server

Last updated:

Tunnel RDP through SSH & PuTTY

Tunnel Remote Desktop over SSH with PuTTY: Have you ever been in a situation where you needed to perform remote administration on a Windows Server, and the RDP port 3389 is blocked on a firewall? You can tunnel RDP over SSH with PuTTY 🙂

Windows Server

Last updated:

PowerShell Get-FsrmQuota and Set-FsrmQuota

To get and set File Server Resource Manager NTFS quota you now have to use PowerShell FileServerResourceManager cmdlets. It’s pretty easy to get directory information with Get-FsrmQuota and change dirquota.exe using Set-FsrmQuota.

How to Deploy Software through WDS, automated as a FirstLogonCommand

Windows Server

Last updated:

Software deployment through WDS

Here is how to install software packages during a Windows Deployment Services (WDS) deployment, without Microsoft Deployment Workbench (available in the Microsoft Deployment Toolkit, or MDT).

Analyze Component Store size with DISM in PowerShell

Windows Server

Last updated:

Disk Cleanup in Windows Server

Utilize your cmd.exe or PowerShell command-line and use Deployment Image Servicing and Management (DISM) to clean up the Windows Component Store (WinSxS) in Windows Server.

Windows Server

Last updated:

Explicit Congestion Notification (ECN) slows down outbound connections

ECN is an optional feature that may be used between two ECN-enabled endpoints when the underlying network infrastructure also supports it. Unfortunately, having one ECN Capability enabled endpoint may slow down outbound network connections to outdated network equipment.

Microsoft Internet Information Services (IIS) logo

Windows Server

Last updated:

Conditionally start Application Pools on remote IIS web servers

In this article you’ll learn how to start all stopped application pools that have the ApplicationPool.AutoStart property set to $True using AppCmd.exe or PowerShell. This is something you often or occasionally have to perform on various servers, for example when an application pool hangs.