Skip to content
jc-rs
GitHub

net-localgroup

--net-localgroupv1.0.0

Windows `net localgroup` command parser

Windowscommand
$ net localgroup | jc-rs --net-localgroup

A real pair

From the reference corpus (windows/windows-xp/net_localgroup.json). The left pane is the input the fixture ships; the right pane is the corpus's expected JSON. The coverage note below explains why this pair does not enter the measured comparison. Hover a value to see where it came from.

net localgroupwindows-xp

Aliases for \\DESKTOP-WINXP

-------------------------------------------------------------------------------
*Administrators
*Backup Operators
*Distributed COM Users
*Guests
*HelpServicesGroup
*Network Configuration Operators
*Performance Log Users
*Performance Monitor Users
*Power Users
*Remote Desktop Users
*Replicator
*Users
The command completed successfully.
expected outputjson
Use the Left and Right arrow keys to highlight the matching value in the input.
{
  "account_origin": "\\\\DESKTOP-WINXP",
  "domain": null,
  "comment": null,
  "groups": [
    {
      "name": "Administrators",
      "members": []
    },
    {
      "name": "Backup Operators",
      "members": []
    },
    {
      "name": "Distributed COM Users",
      "members": []
    },
    {
      "name": "Guests",
      "members": []
    },
    {
      "name": "HelpServicesGroup",
      "members": []
    },
    {
      "name": "Network Configuration Operators",
      "members": []
    },
    {
      "name": "Performance Log Users",
      "members": []
    },
    {
      "name": "Performance Monitor Users",
      "members": []
    },
    {
      "name": "Power Users",
      "members": []
    },
    {
      "name": "Remote Desktop Users",
      "members": []
    },
    {
      "name": "Replicator",
      "members": []
    },
    {
      "name": "Users",
      "members": []
    }
  ]
}

Fixture coverage

noneThe reference corpus ships no oracle-valid fixture for this parser, so the differential cannot speak for it. That is reported, not hidden.

Magic syntax

jc-rs net localgroupjc-rs runs the command itself and parses what it prints. Recognised for: `net localgroup`

Source: crates/jc-rs-parsers/src/misc/net_localgroup.rs. jc-rs targets the schemas defined by the original Python tool. Fixture coverage above is the measured evidence for this parser; test the inputs your pipeline depends on. Compare