Jan Gehring > Rex-0.43.2 > Rex::Commands::Inventory

Download:
Rex-0.43.2.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  5
Open  1
View/Report Bugs
Source   Latest Release: Rex-0.50.0

NAME ^

Rex::Commands::Inventory - Inventor your systems

DESCRIPTION ^

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

SYNOPSIS ^

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

EXPORTED FUNCTIONS ^

inventory

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

 task "get-inventory", sub {
    my $inventory = inventory();
    print Dumper($inventory);
 };
syntax highlighting: