mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Improved MeshCmd, now works with Intel LMS service.
This commit is contained in:
parent
cd6f8502ca
commit
15de1e86b4
9 changed files with 90 additions and 66 deletions
|
@ -720,7 +720,7 @@ function AmtStackCreateService(wsmanStack) {
|
|||
|
||||
function _GetAuditLog0(stack, name, responses, status, tag) {
|
||||
if (status != 200) { tag[0](obj, [], status); return; }
|
||||
var ptr, i, e, es, x, r = tag[1], t = new Date(), TimeStamp;
|
||||
var ptr, i, e, x, r = tag[1], t = new Date(), TimeStamp;
|
||||
|
||||
if (responses.Body['RecordsReturned'] > 0) {
|
||||
responses.Body['EventRecords'] = MakeToArray(responses.Body['EventRecords']);
|
||||
|
@ -728,8 +728,7 @@ function AmtStackCreateService(wsmanStack) {
|
|||
for (i in responses.Body['EventRecords']) {
|
||||
e = null;
|
||||
try {
|
||||
es = atob(responses.Body['EventRecords'][i]);
|
||||
e = Buffer.from(es);
|
||||
e = Buffer.from(responses.Body['EventRecords'][i], 'base64');
|
||||
} catch (ex) {
|
||||
console.log(ex + " " + responses.Body['EventRecords'][i])
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue