Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Rex::Commands::Inventory - Get an inventory of your systems

Description

       With this module you can get an inventory of your system.

       All these functions will not be reported. These functions don't modify anything.

Exported Functions

inventory
       This function returns a hashRef of all gathered hardware. Use the Data::Dumper module to see its
       structure.

        task "get_inventory", sub {
          my $inventory = inventory();
          print Dumper($inventory);
        };

perl v5.40.0                                       2025-02-06                      Rex::Commands::Inventory(3pm)

Name

       Rex::Commands::Inventory - Get an inventory of your systems

Synopsis

        use Data::Dumper;
        task "inventory", "remoteserver", sub {
          my $inventory = inventory();
          print Dumper($inventory);
        };

See Also