Skip to content

get value of certain property of showvminfo command #72

@acherkashin

Description

@acherkashin

Guys, thank you for your work.
I'm working on VirtualBox extension for VSCode and I want to show OS name next to VM name like on SS below.

image

But instead of just "windows" I want to show "Windows 10 (64-bit)",
instead of "mac" - "Mac OS X (64-bit)"

For this purpose, I need method to perform this command and get all properties as object.

VBoxManage.exe showvminfo -machinereadable "Mac OS machine"

I mean next structure should be converted to next JS object

name="Mac OS machine"
groups="/"
ostype="Mac OS X (64-bit)"
...
{
    name: "Mac OS machine",
    groups: "/",
    ostype: "Mac OS X (64-bit)",
    ...
}

I would appreciate if somebody take care about it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions