1Rex::Commands::InventorUys(e3r)Contributed Perl DocumentRaetxi:o:nCommands::Inventory(3)
2
3
4
6 Rex::Commands::Inventory - Get an inventory of your systems
7
9 With this module you can get an inventory of your system.
10
11 All these functions will not be reported. These functions don't modify
12 anything.
13
15 use Data::Dumper;
16 task "inventory", "remoteserver", sub {
17 my $inventory = inventory();
18 print Dumper($inventory);
19 };
20
22 inventory
23 This function returns a hashRef of all gathered hardware. Use the
24 Data::Dumper module to see its structure.
25
26 task "get_inventory", sub {
27 my $inventory = inventory();
28 print Dumper($inventory);
29 };
30
31
32
33perl v5.38.0 2023-08-07 Rex::Commands::Inventory(3)