networkInterfaces() fixed Windows XP bug (WMIC NetEnabled)

This commit is contained in:
Sebastian Hildebrandt 2021-05-05 09:10:32 +02:00
parent decb4b60ed
commit fab459e572
6 changed files with 14 additions and 3 deletions

View File

@ -77,6 +77,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
| Version | Date | Comment |
| -------------- | -------------- | -------- |
| 5.6.17 | 2021-05-05 | `networkInterfaces()` fixed Windows XP bug (WMIC NetEnabled) |
| 5.6.16 | 2021-05-05 | `graphics()` fixed compare bug |
| 5.6.15 | 2021-05-05 | restored Node 4.x compatibility |
| 5.6.14 | 2021-05-04 | `networkGatewayDefault()` macOS improvement for active VPN |

View File

@ -56,6 +56,11 @@
</tr>
</thead>
<tbody>
<tr>
<th scope="row">5.6.17</th>
<td>2021-05-05</td>
<td><span class="code">networkInterfaces()</span> fixed Windows XP bug (WMIC NetEnabled)</td>
</tr>
<tr>
<th scope="row">5.6.16</th>
<td>2021-05-05</td>

View File

@ -170,7 +170,7 @@
<img class="logo" src="assets/logo.png">
<div class="title">systeminformation</div>
<div class="subtitle"><span id="typed"></span>&nbsp;</div>
<div class="version">New Version: <span id="version">5.6.16</span></div>
<div class="version">New Version: <span id="version">5.6.17</span></div>
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
</div>
<div class="down">

View File

@ -83,6 +83,11 @@
</tr>
</thead>
<tbody>
<tr>
<th scope="row">4.34.23</th>
<td>2021-05-05</td>
<td><span class="code">networkInterfaces()</span> fixed Windows XP bug (WMIC NetEnabled)</td>
</tr>
<tr>
<th scope="row">4.34.22</th>
<td>2021-05-05</td>

View File

@ -170,7 +170,7 @@
<div class="title">systeminformation </div>
<div class="subtitle"><span id="typed"></span>&nbsp;</div>
<div class="version larger">Version 4 documentation</div>
<div class="version">Current Version: <span id="version">4.34.22</span></div>
<div class="version">Current Version: <span id="version">4.34.23</span></div>
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
</div>
<div class="down">

View File

@ -245,7 +245,7 @@ function parseLinesWindowsNics(sections, nconfigsections) {
}
function getWindowsNics() {
const cmd = util.getWmic() + ' nic get MACAddress, name, NetConnectionId, NetEnabled, Speed, NetConnectionStatus, AdapterTypeId /value';
const cmd = util.getWmic() + ' nic get /value';
const cmdnicconfig = util.getWmic() + ' nicconfig get dhcpEnabled /value';
try {
const nsections = execSync(cmd, util.execOptsWin).split(/\n\s*\n/);