logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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