Quantcast
Channel: Configuration & Scripting
Viewing all articles
Browse latest Browse all 780

Add-WebConfigurationLock to set

$
0
0

Hello, Thank you in advance for your time. i am trying to set <staticContent lockAttributes="*"> using powershell. 

i tried following command. instead of <staticContent lockAttributes="*">  it is setting <staticContent lockAttributes="defaultDocFooter,isDocFooterFileName,enableDocFooter">

Add-WebConfigurationLock -pspath 'MACHINE/WEBROOT/APPHOST/Default Web Site' -filter "system.webServer/staticContent/@*" -type "inclusive" 

any input is greatly appreciated. 

Thank you


Viewing all articles
Browse latest Browse all 780

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>