Thank you Ronald as I needed exactly this today. Here is how to remove phantom application folders from websites in IIS using PowerShell.
Windows Server
Microsoft Windows Server 2016 logo
Windows Server articles and howtos. With Windows Server you can scale to run your most important workloads with robust recovery options. You’ll achieve value quickly with a wide range of cost-effective, high-performance storage options and simplified delivery of multi-tenant IT services. You can build, deploy, operate, and monitor applications on premises and in the cloud. Empower users with secure access to corporate resources on the devices they choose.
Microsoft SQL Server database: security, performance, code, T-SQL, PowerShell and information
(featured image credit: Freddy2001 on Wikipedia)
IIS backup and restore
Backup and restore IIS 10 and IIS 8.5 configuration with appcmd
If you are using Windows Server IIS as your web server software, it is important to make regular backups. Luckily, using appcmd
this is quite easy.
Install Windows Server Servicing Stack Updates (SSU) using PowerShell
You can 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 your normal Windows Server security updates, you can install them anytime you want to during the day. Here’s a small PowerShell example to do so.
Setting up Monit monitoring in Windows Subsystem for Linux WSL
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.
Silently import .reg file in your Windows registry
To add a .reg file silently to your Windows registry, you can use the regedit
command. As almost always, the /s
parameter is for silent and /q
for quiet.
How to uninstall and remove Adobe Flash Player in Windows Server
Ever wondered why Windows Server Update Services (WSUS) offers Flash updates for Windows Server? Adobe Flash Player is installed on Windows Server 2016 / 2019 if you have the Remote Desktop Session Host (RDSH) role installed. Yikes! I can imagine you want to delete Adobe Flash Player without deleting the RDSH role, and here is how.
How to set SVN_EDITOR environment variable in Windows Server
On a newly installed workstation or server, you might encountered the following subversion error when you commit a change:
Manually failover all databases in an SQL Server Database Mirroring configuration
How to manually failover an SQL Server database mirroring session?
How to manual failover mirrored SQL Server databases using Transact-SQL (T-SQL) in SQL Server 2017+. This 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’ll show you how to force a failover.
Working with file attributes in PowerShell
How to use the Windows PowerShell cmdlet Get-ItemProperty to work with file attributes.
Working with PowerShell’s Get-ItemProperty
to get file attributes may boost your work productivity. It’s often easier to getting things done if you have a more generic way of doing something. Here is how to use Get-Item and Get-ItemProperty in PowerShell to perform and streamline day to day tasks like installing or updating software based on file versions. I also address changing timestamps on files in short.
Windows Server 2016 on Hyper-V stuck at stopping
… and the guest server VM won’t reboot
If a Windows Server 2016 guest VM on Hyper-V hangs while stopping after Windows Updates, it might be caused by the recovery debug information type set. Especially when you have moved the Windows PageFile to a different partition/VHDX.
List all SPNs used in your Active Directory
There are a lot of hints & tips out there for troubleshooting SPNs, or Service Principal Names. Listing duplicate SPNs is fairly easy, just use setspn -X
on your command-line and you’ll find out. But how do you find out which SPNs are used for which users and computers are used for this?
How to: Determine which .NET Framework versions are installed
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 the user’s computer.
How to turn off the TLS default in FileZilla?
A short post for my colleagues at the customer support and anyone else wondering the same: how to disable TLS encryption in FileZilla and turn off the FTP over TLS default setting?
WsusPool keeps crashing: stops again and again
Sometimes you find your WSUS server keeps crashing over and over again. WSUS is unavailable and/or the WSUS management console hangs. When you start to investigate as to why Windows Server Update Services crashes, you’ll notice the following error message being logged in the HTTPErr log files: