Windows Server

PowerShell

Install Windows Updates using PowerShell

In this post I show you how you can use PowerShell to install Windows Updates. Quickly and silently. This makes the use of PSWindowsUpdate module perfect for your day to day automation. The module even supports scheduling (on remote computers too!), it has the ability to search WSUS and Windows Update for updates, scheduling and performing the download and installation of updates.

PowerShell PowerShell 5.0

Install Windows Server Servicing Stack Updates (SSU) using PowerShell

Install Servicing Stack Updates (SSU) for Windows Server 2012R2, 2016 and Windows Server 2019 using PowerShell, without downtime. Because they must be installed prior to normal Windows Server security updates you can install an SSU anytime you want to during the day. Here’s a small PowerShell example to do so.

Windows Server white and gray metal pipe

What are 4 important security measures for Windows Server & IIS 10?

When you have just installed your new Windows Server, with or without IIS as web server, it is important to take a few extra security measurements. Securing your server is important to keep hackers out and your data safe. This article provides 4 key steps in strengthening your Windows Server web (IIS) or file server security.

PowerShell Microsoft Internet Information Services logo

Add websites and application pools to IIS with PowerShell, in a for loop

How to use PowerShell to create websites and application pools in IIS. How to use PowerShell to create websites and application pools in IIS… A client of the company I work for wanted to quickly add 60 sub-domains to his website. But, the sub-domains had to be created as self contained IIS websites, and running in their own application pools. Luckily, the client wanted 60 consecutive sub-domain names. This made our task a bit easier, because we could easily script this in PowerShell

Web application security magnifying glass near gray laptop computer

Grep for forensic log parsing and analysis on Windows Server IIS

How to use GnuWin32 ported tools like grep.exe and find.exe for forensic log file analysis in Windows Server. In this article I’ll give some real live examples of using these ported GnuWin tools like grep.exe for logfile analysis on Windows servers. The article provides three example, as an alternative to LogParser, because finding spam scripts fast is often very important.