Stop World Wide Web Publishing Service

Microsoft.Exchange2007.Mailbox.Task.MSExchangeW3SVC.Stop (Task)

This task stops the World Wide Web Publishing service.

Element properties:

TargetMicrosoft.Exchange2007.ServerRole.Mailbox
AccessibilityInternal
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
WA WriteAction System.CommandExecuter Microsoft.Exchange2007.Account.LocalSystem

Source Code:

<Task ID="Microsoft.Exchange2007.Mailbox.Task.MSExchangeW3SVC.Stop" Accessibility="Internal" Enabled="true" Target="ExLibrary!Microsoft.Exchange2007.ServerRole.Mailbox" Timeout="300" Remotable="true">
<Category>Maintenance</Category>
<WriteAction ID="WA" RunAs="ExLibrary!Microsoft.Exchange2007.Account.LocalSystem" TypeID="System!System.CommandExecuter">
<ApplicationName>%SystemRoot%\System32\net.exe</ApplicationName>
<WorkingDirectory>%SYSTEMROOT%\temp</WorkingDirectory>
<CommandLine>stop W3SVC /y</CommandLine>
<TimeoutSeconds>60</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</WriteAction>
</Task>