在伺服器上執行 ipconfig /all
此工作會執行 "IPCONFIG /ALL" 命令,以顯示所有介面卡的完整 TCP/IP 設定。 介面卡可以是實體介面,例如已安裝的網路介面卡,亦可以是邏輯介面,例如撥號連線。
Target | Microsoft.Windows.Server.6.2.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.6.2.Computer.IPConfig.Task" Target="WindowsServer!Microsoft.Windows.Server.6.2.Computer" Accessibility="Public">
<Category>Maintenance</Category>
<ProbeAction ID="PA" TypeID="System!System.CommandExecuterProbe">
<ApplicationName>%WINDIR%\System32\IPCONFIG.EXE</ApplicationName>
<WorkingDirectory/>
<CommandLine>/ALL</CommandLine>
<TimeoutSeconds>30</TimeoutSeconds>
<RequireOutput>true</RequireOutput>
<Files/>
</ProbeAction>
</Task>