Pause Windows Internet Information Services SMTP Server (SMTPSVC) Service
Microsoft.Windows.InternetInformationServices.2000.SMTPServer.PauseSMTPServerService.Task (Task)
This task will pause the Windows Internet Information Services SMTP Server (SMTPSVC) Service when it is currently started.
Element properties:
Member Modules:
Source Code:
<Task ID="Microsoft.Windows.InternetInformationServices.2000.SMTPServer.PauseSMTPServerService.Task" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.2000.SMTPServer" Timeout="300" Remotable="true">
<Category>Maintenance</Category>
<WriteAction ID="WA1" TypeID="System!System.CommandExecuter">
<ApplicationName>%WINDIR%\SYSTEM32\NET.EXE</ApplicationName>
<WorkingDirectory>%WINDIR%\SYSTEM32</WorkingDirectory>
<CommandLine>pause SMTPSVC</CommandLine>
<TimeoutSeconds>15</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</WriteAction>
</Task>