清除IISExpress缓存 [英] clearing IISExpress cache
本文介绍了清除IISExpress缓存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图从powershell中清除IISExpress Cache。使用此代码会抱怨该列表。
I am trying to clear up the IISExpress Cache from the powershell. Using this code it complains about the list.
C:\Program Files(x86)\ IIS Express \ appcmd.exe list site / xml | appcmd delete site / in
如何清理网站和IIS Express缓存?
How can I clear up the sites and the IIS Express cache?
At line:1 char:50
+ "C:\Program Files (x86)\IIS Express\appcmd.exe" list site /xml | app ...
+ ~~~~
Unexpected token 'list' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnexpectedToken
推荐答案
打开CMD提示&通过键入以下内容导航到IIS express -
Open CMD prompt & Navigate to IIS express - by typing the following
cd "C:\Program Files (x86)\IIS Express\"
运行此 appcmd.exe list site / xml | appcmd删除网站/在
这将删除所有网站,享受!
This will delete all the sites, enjoy!
这篇关于清除IISExpress缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文