Search code examples
iismsdeployappcmd

Check for IIS Application exist or not by Appcmd


How can I Check the existence of Application in IIS.

Currently i am using

appcmd list app marketsworkflowdev/NonExistApp

But it is giving me details of it's parent site detail, if application doesn't exist on iis.

How can i check Whether an application is exist or not. Thanks


Solution

  • I think your looking for

    appcmd list app /site.name: marketsworkflowdev
    

    https://technet.microsoft.com/en-us/library/cc754776%28v=ws.10%29.aspx?f=255&MSPPError=-2147217396