Enable authentication for IIS app in Powershell
I had the issue of dealing with locked sections and the accepted answer proposes opening up a GUI to solve it, which I am trying to avoid with PowerShell in first place. Short Answer Enable Windows Authentication and Disable Anonymous Authentication $iisSiteName = “Default Web Site” $iisAppName = “MyApp” Write-Host Disable anonymous authentication Set-WebConfigurationProperty -Filter … Read more