by skufel | Dec 8, 2011 | Automation, Infrastructure, Scripting, SysAdmin
Some time ago I received request to automate file transfer between FTP server and Development systems. Both, FTP server and Development system, are Windows-based. FTP server was running FTP over SSL only, so that automatically eliminated built-in Windows FTP...
by skufel | Nov 29, 2011 | Automation, Infrastructure, Network, Scripting
RANCID is a great automation tool which allows you to collect configuration from network devices and store in repository with version control (CVS or SVN). In this article I will show you how to install RANCID and prepare to work on openSUSE 11.4 with subversion as...
by skufel | Nov 14, 2011 | Automation, Infrastructure, Network, Scripting, SysAdmin
If you need to capture configuration of Windows-based DHCP server for documentation or review purposes, this might be handy: netsh -r lab-dc-01 dhcp server dump > C:\dhcp-lab-dc-01.txt NOTE: lab-dc-01 in example command is name of the Windows server which has DHCP...
by skufel | Nov 14, 2011 | Automation, Infrastructure, Scripting
Here is quick script which connects to Active Directory, reads all computer accounts from Organization Unit (OU) indicated in script and then pings all computers found in that OU. It might be handy if all server accounts are located in one OU. Const ADS_SCOPE_SUBTREE...
by skufel | Nov 14, 2011 | Automation, Infrastructure, Scripting, SysAdmin
Some time ago I had to transfer SQL Server databases from remote retail locations to central system. At that time whol einfrastructure was operating on Microsoft SQL server 2000 and link in remote locations was 128kb/s ISDN. At that time I thought that the best idea...
by skufel | Nov 11, 2011 | Infrastructure, Scripting
Script I used as computer statup script pushed via GPO. It renames local Administrator to Admin and sets password for Admin account to one specified in script. Script was tested and used on Windows XP Professional. '...