To set application pool to web application through batch file
@c:
@cd c:\windows\system32\inetsrv
@appcmd set app /app.name:"Default Web Site/TestApp" /applicationPool:"Test Pool"
TestApp - denotes web application name
@c:
@cd c:\windows\system32\inetsrv
@appcmd set app /app.name:"Default Web Site/TestApp" /applicationPool:"Test Pool"
TestApp - denotes web application name
Test Pool - denotes application pool
Comments
Post a Comment