執行 NETSTAT 命令列工具以顯示作用中連線的清單。
此工作會執行 "NETSTAT" 命令列公用程式,以顯示使用中的 TCP 連線。
Target | Microsoft.Windows.Server.2008.Computer |
Accessibility | Public |
Category | Maintenance |
Enabled | True |
Remotable | False |
Timeout | 300 |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
PA | ProbeAction | System.CommandExecuterProbe | Default |
<Task ID="Microsoft.Windows.Server.2008.Computer.ActiveConnections.Task" Target="Server2008!Microsoft.Windows.Server.2008.Computer" Accessibility="Public">
<Category>Maintenance</Category>
<ProbeAction ID="PA" TypeID="System!System.CommandExecuterProbe">
<ApplicationName>%WINDIR%\System32\NETSTAT.EXE</ApplicationName>
<WorkingDirectory/>
<CommandLine/>
<TimeoutSeconds>30</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</ProbeAction>
</Task>