Kör ipconfig /all på servern
Den här uppgiften kör kommandot IPCONFIG /ALL som visar den fullständiga TCP/IP-konfigurationen för alla kort. Kort kan motsvara fysiska gränssnitt, till exempel installerade nätverkskort, eller logiska gränssnitt, exempelvis fjärranslutningar.
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>