I am trying to clear the IISExpress cache from powershell. Using this code, he complains about the list.
"C:\Program Files (x86)\IIS Express\appcmd.exe" list site /xml | appcmd delete site /in
How can I clear IIS Express sites and 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
powershell asp.net-mvc iis iis-express
aggie
source share