I had the need to query the registry for a specific string, if the string is found or not then engage an action.
Within this scenario as example, it query the registry and a specified string, an action is taken if this one is not found/present.
reg query "%regpath%" /v "%regvalue%" | find /i "%regdata%"
if errorlevel 1 (
echo Please wait blah blah......
Start /WAIT .\myprog\install.exe
EXIT /B /0
I have been using a script for a while switching off the esxi to a certain time. Crontab in used to do it, as this post
Unfortunately, this script does not do much than poweroff the vms and switching off the esxi; As a consequence the vmware’s running at that time would have been stopped roughtly;
All the work done would have been lost, so I decided to review this script to do the following;
– List of Machines currently running
– Retrieve ID’s for each Machines
– suspend command for each IDs.
– Then Poweroff the Esx(i).
Continue reading “Suspend running vmware and switch the esx(i) off”
Having set the PHP Engine running on Domino Server; Any/All request to access to some PHP files filling up my log.nsf of this type of entries and warning:
PHP Warning: phpinfo(): It is not safe to rely on the system's
timezone settings. You are *required* to use the date.timezone
setting or the date_default_timezone_set() function.
In case you used any of those methods and you are still
getting this warning, you most likely misspelled the timezone
identifier. We selected the timezone 'UTC' for now,
but please set date.timezone to select your timezone.
in E:\IBM\Lotus\Domino\data\domino\html\info.php on line 4
One more thing is needed to be set into the php.ini file:
Set this line:
date.timezone = "UTC"
Or and based on your location; including the list of Supported Timezones
I have been creating this article as follow up on the implementation of that same feature based on Windows.
This one is on Linux.
Once the PHP is currently implemented on the OS Platform the Domino Configuration is still the same.
Continue reading “Install/implement PHP on Domino Linux Server”
I have been looking the trick to run PHP engine into a Domino server;
By default, Domino Server does not support PHP; However I am including the step by step instructions on how to implement it into Domino Server on Windows Machine.
You need first the PHP binaries:
I have been using the version (5.4.9), downloadable here.
– Uncompress the content of this zip file.
Continue reading “Domino server running PHP CGI /Install/implement PHP on Domino Windows Server”
I needed to hide server version and Domino information ‘leakage’ in MIME information, follow the steps below to hide this information.
To hide the senders client information which is Lotus Notes 6.5.3 as indicated by the X-Mailer line, then you would include the field “$XMailer” as one to be hidden from the SMTP header. Also, the X-MIMETrack field above shows information about all the SMTP servers that have itemized and serialized the SMTP message on it’s travels to my IBM account. Hiding the $MIMETrack will force the outbound Domino server to not include any information about the serialization and itemization when it leaves Domino. Finally specifying the Received field will remove information in the Received field of the message about previous hops that the message has taken in your internal system.
Continue reading “Domino hiding SMTP header items”
I had have recently look to disable SSL for Outlook Web Access to fit my need, in fact my Https port (443) was unfortunately already in used on my router.
Continue reading “How to disable SSL for outlook Web access (Exchange 2007/2010)”