I want to be able to unlock some sections in particular the module, security among others
This is the XML data I'd like to be able to set using the cmdlets
<section name="modules" allowDefinition="MachineToWebRoot" overrideModeDefault="Allow" />
This works with Set/Get-WebConfigurationProperty
(Get-WebConfiguration -filter /system.webServer/directoryBrowse).enabled
Get-WebConfigurationProperty -filter /system.webServer/directoryBrowse -name enabled
But neither of these do
Get-WebConfigurationProperty -filter /system.webServer/modules -name OverrideMode
Set-WebConfigurationProperty -filter /system.webServer/modules -name OverrideMode -value $false
The error I get back is
WARNING: Property OverrideMode is not found on /system.webServer/modules.
This property is there I can see using either of these methods
Get-WebConfiguration -Filter /system.webServer/modules | fl *
(Get-WebConfiguration -Filter /system.webServer/modules).OverrideMode
I'm having similar difficulties modifying the Security and other sections
Is this a bug? Please let me know what I'm doing wrong and how I can set these
thx
bob