Export (0) Print
Expand All

Controlling the Output of Trigger Information

Updated: June 30, 2009

Applies To: Windows 7, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP

When no settings are specified for getDependencies, the default behavior is for no trigger information to be returned. When a feature-specific setting is used with getDependencies, the default behavior is for all trigger information to be returned. You can override these defaults by using the alltrigger and notrigger settings. The following table shows these default behaviors and how you can override them by using alltrigger and notrigger.

 

getDependencies command Result

-verb:getdependencies

No trigger information is returned (notrigger is the default).

-verb:getdependencies,alltrigger

All trigger information is returned (the alltrigger setting overrides the notrigger default).

noteNote
Because all dependencies and all trigger information will be returned, the output will be very verbose.

-verb:getdependencies ,<dependency>[=<value>]

All trigger information is returned for the specified dependency (alltrigger is the default).

-verb:getdependencies,notrigger ,<dependency>[=<value>]

No trigger information is returned for the specified dependency (the notrigger setting overrides the alltrigger default).

If you use the alltrigger setting, all dependencies and trigger information from the source that you specify will be returned. To reduce the verbosity of this output, use one of the feature-specific appPoolInUse, cgi, dependency, isapi, managedType, or nativeModule settings. By reducing the scope of the operation, you will reduce the amount of information returned. The following example specifies that only ISAPI dependencies be returned from an IIS 6.0 Web server. The sample output is shown.

   

msdeploy -verb:getDependencies,isapi -source:webServer60

   

Sample output

<dependencyInfo>

    <isapis>

        <isapi dll="C:\WINNT\system32\inetsrv\httpodbc.dll" enabled="False">

            <trigger absolutePath="/LM/W3SVC/ScriptMaps" />

        </isapi>

    </isapis>

</dependencyInfo>

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft