I\'d like to toggle the Anonymous Authentication (Enabled/Disabled) setting found in IIS Manager (7.5, Windows 7), Default Web Site / My Website - Authentication / Anonymous
Try the Set-WebConfigurationProperty cmdlet:
Set-WebConfigurationProperty
Set-WebConfigurationProperty -Filter system.webServer/security/authentication/anonymousAuthentication ` -PSPath MACHINE/WEBROOT/APPHOST ` -Location 'Default Web Site' ` -Name Enabled ` -Value $true