![]() ![]() Then, you can register the two MIME types like this. $Env:WinDir\system32\inetsrv\appcmd.exe set config /section:staticContent /-"" If entries are present and configured incorrectly, remove them in PowerShell with. ![]() Under cmd.exe, the corresponding command looks like this: %SystemRoot%\system32\inetsrv\appcmd.exe list config /section:staticContent | findstr /i "wim msu" $Env:WinDir\system32\inetsrv\appcmd.exe list config /section:staticContent | The following PowerShell command does the job. In the first step, it is recommended to check whether the two file extensions are already assigned to a MIME type. Registering MIME types from the command lineĪs an alternative to the IIS Manager, you can use the appcmd.exe utility to register MIME types. msu extension to which you assign application/octet-stream. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |