Some times we need to manage IIS in a way that works better then the UI

For example you need the password for the app pool becuase you don't want to have to reset it 30 time

 

get all password for a user:
c:\Windows\System32\inetsrv>appcmd list apppool /processModel.userName:"$=WindowsUserIdenity" /config /xml > C:\Users\Administrator\Desktop\apppool.xml

Example: c:\Windows\System32\inetsrv\appcmd list apppool /processModel.userName:"$=IWPD_1(test)" /config /xml > C:\Users\Administrator\Desktop\apppool.xml

recycle all app pools for a user
c:\Windows\System32\inetsrv>appcmd list apppool /processModel.userName:"$=WindowsUserIdenity" /xml | %windir%\system32\inetsrv\appcmd.exe recycle apppool /in