Currently browsing tag

mimeType

Import-mimeTypes

Import mimeTypes $MimeList = Import-Csv .\mimetypes.txt ForEach ($Mime in $MimeList) { add-webconfigurationproperty //staticContent -name collection -value @{fileExtension=’$Mime.extension’;mimeType=’$Mime.mimeType’} } [/sourcecode] mimetypes.txt example [sourcecode …

Scroll to Top