IPConfig

Microsoft.Windows.Server.2008.Computer.IPConfig.Task (Task)

在服务器上运行 ipconfig/all

Knowledge Base article:

摘要

此任务执行“IPCONFIG /ALL”命令,该命令显示所有适配器的完整 TCP/IP 配置。 适配器可表示物理接口(例如已安装的网络适配器)或逻辑接口(如拨号连接)。

Element properties:

TargetMicrosoft.Windows.Server.2008.Computer
AccessibilityPublic
CategoryMaintenance
EnabledTrue
RemotableFalse
Timeout300

Member Modules:

ID Module Type TypeId RunAs 
PA ProbeAction System.CommandExecuterProbe Default

Source Code:

<Task ID="Microsoft.Windows.Server.2008.Computer.IPConfig.Task" Target="Server2008!Microsoft.Windows.Server.2008.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>