I am writting a PS script to set several IIS 7 configuration item. One of them is AllowHighBitCharactors.
I can find the setting using $wc = Get-WebConfigurationProperty -filter /system.webserver/security/requestFiltering -PSPath "IIS:\sites\$sitename
I then have to loop through $wc to find the verious settings. for example
forEach ($t in $wc) { $ahb = $t.allowHighBitCharacters }
If $ahb -eq True I want to change it to false.
What is the syntaxt to do that?