FusionInventory::Agent::Tools::Win32 - Windows generic functions
This module provides some Windows-specific generic functions.
Returns true if the OS is 64bit or false.
Returns the local codepage.
Returns the list of objects from given WMI class or from a query, with given properties, properly encoded.
Ensure given registry content is properly encoded to utf-8.
Returns a value from the registry.
E.g: HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT/CurrentVersion/ProductName
Returns a key from the registry. If key name is '*', all the keys of the path are returned as a hash reference.
E.g: HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT/CurrentVersion
Returns a command in a Win32 Process
Return an array
Returns the list of network interfaces.
Returns an array of a converted FILETIME datetime value with following order: ( year, month, wday, day, hour, minute, second, msecond )
Under win32, just start a worker thread handling Win32::OLE dependent APIs like is64bit() & getWMIObjects(). This is sometime needed to avoid perl crashes.
To install FusionInventory::Agent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FusionInventory::Agent
CPAN shell
perl -MCPAN -e shell install FusionInventory::Agent
For more information on module installation, please visit the detailed CPAN module installation guide.