fusioninventory::agent::tools::win32(3pm) [debian man page]
FusionInventory::Agent::Tools::Win32(3pm) User Contributed Perl Documentation FusionInventory::Agent::Tools::Win32(3pm)NAME
FusionInventory::Agent::Tools::Win32 - Windows generic functions
DESCRIPTION
This module provides some Windows-specific generic functions.
FUNCTIONS
is64bit()
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)
Check Out this Related Man Page
DateTime::TimeZone::Local::Win32(3) User Contributed Perl Documentation DateTime::TimeZone::Local::Win32(3)NAME
DateTime::TimeZone::Local::Win32 - Determine the local system's time zone on Windows
VERSION
version 1.63
SYNOPSIS
my $tz = DateTime::TimeZone->new( name => 'local' );
my $tz = DateTime::TimeZone::Local->TimeZone();
DESCRIPTION
This module provides methods for determining the local time zone on a Windows platform.
HOW THE TIME ZONE IS DETERMINED
This class tries the following methods of determining the local time zone:
o $ENV{TZ}
It checks $ENV{TZ} for a valid time zone name.
o Windows Registry
When using the registry, we look for the Windows time zone and use a mapping to translate this to an Olson time zone name.
o Windows Vista and 2008
We look in "SYSTEM/CurrentControlSet/Control/TimeZoneInformation/" for a node named "/TimeZoneKeyName". If this exists, we use
this key to look up the Olson time zone name in our mapping.
o Windows NT, Windows 2000, Windows XP, Windows 2003 Server
We look in "SOFTWARE/Microsoft/Windows NT/CurrentVersion/Time Zones/" and loop through all of its sub keys.
For each sub key, we compare the value of the key with "/Std" appended to the end to the value of
"SYSTEM/CurrentControlSet/Control/TimeZoneInformation/StandardName". This gives us the English name of the Windows time zone,
which we use to look up the Olson time zone name.
o Windows 95, Windows 98, Windows Millenium Edition
The algorithm is the same as for NT, but we loop through the sub keys of "SOFTWARE/Microsoft/Windows/CurrentVersion/Time
Zones/"
AUTHOR
Dave Rolsky <autarch@urth.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2013 by Dave Rolsky.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.18.2 2013-10-28 DateTime::TimeZone::Local::Win32(3)
Hi all, i wrote this script and the code appears to work except i cannot connect to the WMI interface on Windows XP boxes. The listing is printed for testing purposes so i know that part works. When it tries to connect to WMI, the script dies. Should echo these properties to me. I think the... (5 Replies)
Hi Folks,
I am using Perl module Win32::IEAutomation for automating a web page which is implented using iceface.
I am trying to click on a image which has the following html code:
<input alt="Incidents" class="iceCmdBtn" id="_id68:_id79" name="_id68:_id79" onblur="setFocus('');"... (5 Replies)
Hi,
I am using Win32::IEAutomation module to automate my Web based application.
I am trying to prepare a report for the test cases I automated.
The problem is I am unable to get the execution status of the commands gotoURL, getButton .... to know if my button click or url redirection is... (2 Replies)
Hi,
I am windows programer. I have very basic knowledge of Unix OS.
I have written an application in Windows which consists of Win32 API namely WideCharToMultiByte(..) and MultiByteToWideChar(..).
I am interested to deploy my application in unix platform henceforth I need to know IS... (1 Reply)
I had a problem with a file in use on a Win2003 server, and found a really good program on Microsoft's web site.
It is the equivalent of unix fuser.
Process Explorer (5 Replies)
Hi all,
. I am developing a log monitoring solution in perl for Windows I am using the CPAN module Win32 ::EventLog (0.076) version for getting the events from windows. The problem which I am facing now is all the Windows 2008 machines are upgraded with Service pack2 from then I couldn’t able... (2 Replies)
I am trying to export windows display to my unix SunOS
I have Windows server 2000 which has X-Win32 v6 installed.
I start X-Win32. I then go to configure session with the following details.
1. host name: myhost
2. command: xterm -ls
3 username: user1
4 password: password
Then i right... (1 Reply)
Hi All ,
I am stuck on the below situation.I have a table called "test" which are created on hive.I need to export the data from hive to a file(test.txt) on local unix system.I have tried the below command ,but its giving the exception .
hive -e "select * from test " > /home/user/test.txt ;
... (1 Reply)