Installing feature in Azure startup task for Windows Server 2012
For those playing at home, here's the answer!
@echo off@echo Installing "IPv4 Address and Domain Restrictions" feature powershell -ExecutionPolicy Unrestricted -command "Install-WindowsFeature Web-IP-Security"@echo Unlocking configuration for "IPv4 Address and Domain Restrictions" feature %windir%\system32\inetsrv\AppCmd.exe unlock config -section:system.webServer/security/ipSecurity