updated docs
This commit is contained in:
Vendored
+1
@@ -315,6 +315,7 @@ export namespace Systeminformation {
|
||||
servicepack: string;
|
||||
uefi: boolean;
|
||||
hypervizor?: boolean;
|
||||
remoteSession?: boolean;
|
||||
}
|
||||
|
||||
interface UuidData {
|
||||
|
||||
+1
-1
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user