访问 TMG 命令行工具

Microsoft.Forefront.TMG.AccessISACommandLineTools1 (ConsoleTask)


此任务会在包含 TMG 命令行工具的目录下打开一个命令提示符。 此任务假定操作人员的计算机上已经安装了 TMG 服务器管理员控制台。

Element properties:

TargetMicrosoft.Forefront.TMG.ServerRole
Applicationcmd.exe
WorkingDirectory\%ProgramFiles\%\Microsoft Forefront Threat Management Gateway
isRequireOutputFalse
AccessibilityInternal
EnabledTrue

Source Code:

<ConsoleTask ID="Microsoft.Forefront.TMG.AccessISACommandLineTools1" Accessibility="Internal" Enabled="true" Target="Microsoft.Forefront.TMG.ServerRole" RequireOutput="false" Category="MonitoringObject">
<Application>cmd.exe</Application>
<WorkingDirectory>%ProgramFiles%\Microsoft Forefront Threat Management Gateway</WorkingDirectory>
</ConsoleTask>