beastcode.dev - InMotion Hosting

Example domain paragraphs

Menu Creating sites and application pools in IIS from Powershell 4 May, 2023 by Dave I was messing around with my test/dev virtual machine over on Azure, after having blown away the old one so that I could create one with Server 2022, and got tired of creating the pools and sites manually. The code below is the result of a few hours of research and tinkering around, but works well for what I am doing.

This first part is used when creating the main part of the domain on the server.

Remove-WebSite -Name " $Domain " Remove-WebAppPool -Name " $Domain " Code language: PowerShell ( powershell ) Categories Powershell Tags IIS , Internet Information Services , Powershell Leave a comment Recursion in C# 18 April, 2021 by Dave Decided to try my hand at writing a recursive function today, and was able to do so, and have it work without a lot of work.