Query: fusioninventory::agent::tools::win32
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
FusionInventory::Agent::Tools::Win32(3pm) User Contributed Perl Documentation FusionInventory::Agent::Tools::Win32(3pm)NAMEFusionInventory::Agent::Tools::Win32 - Windows generic functionsDESCRIPTIONThis module provides some Windows-specific generic functions.FUNCTIONSis64bit() Returns true if the OS is 64bit or false. getLocalCodepage() Returns the local codepage. getWmiObjects(%params) Returns the list of objects from given WMI class, with given properties, properly encoded. moniker a WMI moniker (default: winmgmts:{impersonationLevel=impersonate,(security)}!//./) class a WMI class properties a list of WMI properties encodeFromRegistry($string) Ensure given registry content is properly encoded to utf-8. getRegistryValue(%params) Returns a value from the registry. path a string in hive/key/value format E.g: HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT/CurrentVersion/ProductName logger getRegistryKey(%params) Returns a key from the registry. path a string in hive/key format E.g: HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT/CurrentVersion logger runCommand(%params) Returns a command in a Win32 Process command the command to run timeout a time in second, default is 3600*2 no_stderr ignore STDERR output, default is false =back Return an array exitcode the error code, 293 means a timeout occurred fd a file descriptor on the output perl v5.14.2 2012-06-25 FusionInventory::Agent::Tools::Win32(3pm)