updated docs
This commit is contained in:
parent
469a761af1
commit
91b56e82b2
@ -72,6 +72,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
|
||||
|
||||
| Version | Date | Comment |
|
||||
| -------------- | -------------- | -------- |
|
||||
| 5.3.0 | 2020-02-12 | `osInfo()` added remoteSession (windows) |
|
||||
| 5.2.7 | 2020-02-12 | `fsStats()`, `blockDevices()` improved linux |
|
||||
| 5.2.6 | 2020-02-12 | `inetLatency()` fixed possible DOS intrusion |
|
||||
| 5.2.5 | 2020-02-11 | `processes()` fixed truncated params (linux) |
|
||||
|
||||
@ -102,6 +102,7 @@ si.cpu()
|
||||
|
||||
(last 7 major and minor version releases)
|
||||
|
||||
- Version 5.3.0: `osInfo()` added remoteSession (win only)
|
||||
- Version 5.2.0: `wifiInterfaces()` and `wifiConnections()` added
|
||||
- Version 5.1.0: `memLayout()` added ECC flag, `bios()` added language, features (linux)
|
||||
- Version 5.0.0: new version 5 - attention there are some breaking changes. See [detailed version 5 changes here][changes5-url].
|
||||
@ -325,6 +326,7 @@ Full function reference with examples can be found at [https://systeminformation
|
||||
| | servicepack | | | | X | | service pack version |
|
||||
| | uefi | X | X | X | X | | OS started via UEFI |
|
||||
| | hypervisor | | | | X | | hyper-v enabled? (win only) |
|
||||
| | remoteSession | | | | X | | runs in remote session (win only) |
|
||||
| si.uuid(cb) | {...} | X | X | X | X | X | object of several UUIDs |
|
||||
| | os | X | X | X | X | | os specific UUID |
|
||||
| | hardware | X | X | X | X | | hardware specific UUID |
|
||||
|
||||
@ -56,6 +56,11 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">5.3.0</th>
|
||||
<td>2020-02-12</td>
|
||||
<td><span class="code">osInfo()</span> added remoteSession (windows)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">5.2.7</th>
|
||||
<td>2020-02-12</td>
|
||||
|
||||
@ -170,7 +170,7 @@
|
||||
<img class="logo" src="assets/logo.png">
|
||||
<div class="title">systeminformation</div>
|
||||
<div class="subtitle"><span id="typed"></span> </div>
|
||||
<div class="version">New Version: <span id="version">5.2.7</span></div>
|
||||
<div class="version">New Version: <span id="version">5.3.0</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">
|
||||
|
||||
10
docs/os.html
10
docs/os.html
@ -226,6 +226,16 @@
|
||||
<td></td>
|
||||
<td>hyper-v detected (win only)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>remoteSession</td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>X</td>
|
||||
<td></td>
|
||||
<td>runs in remote session (win only)</td>
|
||||
</tr>
|
||||
<tr class="example">
|
||||
<td></td>
|
||||
<td colspan="7">
|
||||
|
||||
1
lib/index.d.ts
vendored
1
lib/index.d.ts
vendored
@ -315,6 +315,7 @@ export namespace Systeminformation {
|
||||
servicepack: string;
|
||||
uefi: boolean;
|
||||
hypervizor?: boolean;
|
||||
remoteSession?: boolean;
|
||||
}
|
||||
|
||||
interface UuidData {
|
||||
|
||||
@ -324,7 +324,7 @@ function osInfo(callback) {
|
||||
const workload = [];
|
||||
workload.push(util.wmic('os get /value'));
|
||||
workload.push(execPromise('systeminfo', util.execOptsWin));
|
||||
workload.push(util.powerShell('Add-Type -AssemblyName System.Windows.Forms; [System.Windows.Forms.SystemInformation]::TerminalServerSession'))
|
||||
workload.push(util.powerShell('Add-Type -AssemblyName System.Windows.Forms; [System.Windows.Forms.SystemInformation]::TerminalServerSession'));
|
||||
util.promiseAll(
|
||||
workload
|
||||
).then(data => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user