August, 2009 - PowerCram Blog

Set the Time Zone from the command line on Windows computers

To set the Time Zone from the command line, use: RunDLL32 shell32.dll,Control_RunDLL %SystemRoot%system32TIMEDATE.cpl,,/Z where is the data value of the Display Value Name, or the Std Value Name ,at HKEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrent VersionTime Zones. You can also use: Control.exe %SystemRoot%system32TIMEDATE.CPL,,/Z . Example:RunDLL32 shell32.dll,Control_RunDLL %SystemRoot%system32TIMEDATE.cpl,,/Z US Eastern Time NOTE: You do NOT encapsulate the time zone string in quote (“) […]

Installing NCFTP Client on Linux

NcFTP offers many ease-of-use and performance enhancements over the stock ftp client, and runs on a wide variety of UNIX platforms as well as operating systems such Microsoft Windows and Apple Mac OS X. How To Install wget tar -zxvf ncftp-3.2.2-src.tar.gz cd ncftp-3.2.2 ./configure make make install make clean

Command Line SMTP Mailer for Batch Jobs

Bmail is a free but lean command line SMTP mail sender. Don’t get fooled into playing $$$ for huge executables. Bmail allows the user to automate the sending of email messages containing log files, data downloads or error messages on Win32 based computers. Together with the freeware utility mpack, you can also send MIME encoded attachments. Download and […]

Ubuntu relay email server through ISPs SMTP

Easy way to setup fast, simple and reliable email relay server which will work with ISPs smtp server. 1. Install EXIM4 server: apt-get install exim4 exim4-config 2. run : dpkg-reconfigure exim4-config; choose following config: a: mail sent by smarthost; no local mail b: you domain name ( c: loopback address d: nothing e: domain name ( f: ISP’s […]

How to Install Exchange 2007 SP1 Prerequisites on Windows Server 2008 or Windows Vista

Launch a command prompt window as Administrator and run the following in order: ServerManagerCmd -i Web-MetabaseServerManagerCmd -i Web-Lgcy-Mgmt-Console ServerManagerCmd -i PowerShell ServerManagerCmd -i Web-ServerServerManagerCmd -i Web-ISAPI-ExtServerManagerCmd -i Web-MetabaseServerManagerCmd -i Web-Lgcy-Mgmt-ConsoleServerManagerCmd -i Web-Basic-AuthServerManagerCmd -i Web-Digest-AuthServerManagerCmd -i Web-Windows-AuthServerManagerCmd -i Web-Dyn-Compression ServerManagerCmd -i RPC-over-HTTP-proxy