Get Computer Accounts attributes from Active Directory Excel VBA macro

Sub main() Const ADS_SCOPE_SUBTREE = 2 Set objConnection = CreateObject(“ADODB.Connection”) Set objCommand = CreateObject(“ADODB.Command”) objConnection.Provider = “ADsDSOObject” objConnection.Open “Active Directory Provider” Dim i Set objCommand.ActiveConnection = objConnection Set objRootDSE = GetObject(“LDAP://rootDSE”) strAdsPath = “LDAP://” & objRootDSE.Get(“defaultNamingContext”) i = 2 objCommand.CommandText = _     “Select Name, canonicalName, operatingSystem, ” & _     “operatingSystemVersion, operatingSystemServicePack, ” & [...]

Full Story »

How To Disable Windows Firewall on Windows 7, Windows Server 2008 R2, Windows Vista

To disable the firewall portion of Windows Firewall with Advanced Security from a command prompt Open an Administrator: Command Prompt. To do so, click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator. If the User Account Control dialog box appears, confirm that the action it displays is what [...]

Full Story »

Minimum requirements for implementing a high availability topology

Availability refers to a level of service provided by applications, services, or systems. Highly available systems have minimal downtime, whether planned or unplanned.

Full Story »

Convert Asterisk call recordings to mp3 and arrange in folders

Here is a shell script to convert call recorded by Asterisk to mp3 format and move them to year/month/date wise folder structure. This script has the ability to separate files of different call queue in different folders.

Full Story »

Monitor Services Status

Here is a script to monitor status of services on remote computer. This script checks all services which are marked as automatic, and mail the service status report.

Full Story »

Monitor Disk Space

Here is a shell script to monitor or disk space on Linux and send an email alert if the (free available) percentage of space is >= 90%

Full Story »

Get Free Disk Space

Users filling up hard drive on their computers? Use this script for identifying the computers running low on disk space.

Full Story »