← all drills

Deploy a site to IIS

good deploy

Stop the pool, swap the payload, warm it back up — with PowerShell doing the work.

mode
powershell · good deploy · difficulty 3
Import-Module WebAdministration 
PS C:\Users\oncall>Stop-WebAppPool -Name 'ApiAppPool'
PS C:\Users\oncall>Expand-Archive -Path C:\artifacts\api-2.1.7.zip -DestinationPath C:\inetpub\api -Force

Enter submits a line · Tab then Enter restarts · Esc releases focus

Playing as a guest. Runs are saved against a device-local id — sign in with GitHub to keep your history and appear on the leaderboards.