Reputation: 121
I'm able to disable dynamic and static content using "appcmd", but cannot set "Per application pool disk space limit"!
Upvotes: -1
Views: 468
Reputation: 5215
I found that setting the value of Per application pool disk space limit in the iis server level corresponds to maxDiskSpaceUsage in the applicationHost file, so you can try to modify maxDiskSpaceUsage by below appcmd:
<httpCompression directory="%SystemDrive%\inetpub\temp\IIS Temporary Compressed Files" maxDiskSpaceUsage="999">
c:\windows\system32\inetsrv\appcmd set config /section:httpCompression /maxDiskSpaceUsage:999
More information you can refer to this link: Use Appcmd to set IIS compression level.
Upvotes: 1