Show updatable devices
This commit is contained in:
parent
c5d1e86088
commit
3b81e0d385
1 changed files with 9 additions and 0 deletions
|
@ -65,3 +65,12 @@ await info(
|
|||
);
|
||||
|
||||
console.log(serials.join(","));
|
||||
|
||||
await info("Devices with available updates:");
|
||||
|
||||
await info(
|
||||
devices
|
||||
.filter((d) => d.AvailableOSUpdates.filter(Boolean).length > 0)
|
||||
.map((d) => d.serial_number)
|
||||
.join(","),
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue