September 2023


Archive for Scripts/Powershell

Joe's tool ADFIND & OLDCMP for AD

March 9th, 2011 by and tagged ,

I must say Joe is simply brilliant who had developed a wonderful tool which not only cut down the effort required writing script for searching/modifying/deleting object in AD but added lots of add-on & getting the report in such a easy readable format made me fan of his tool. I was thinking but myself using this tool for my lab as i’m not into support made me feel, if this i would have been known or tried earlier , i would have saved lot of effort & time.

OLDCMP & ADFIND tools usage & reports are better than any other available tool, i said better, this doesn’t mean other tool are usable.

Download OLDCMP tool from Jo’e site & for cmd/usage see the below in the link.

Download ADFIND tool from Jo’e site & for cmd/usage see the below in the link.

Few sample cmd like finding deleted user account from AD

Joe’s Blog

Posted in Directory Services, Exchange, Scripts/Powershell | 4 Comments »

GUI Script for Ex2K3 to Ek10 Cross forest move mailbox

December 22nd, 2010 by and tagged ,

I came across the below GUI script for Exchange 2003 to Exchange 2010 Cross Forest Move Mailbox by Sathish & found it worth to share with others.

Note: The script is not owned/created by me, so run solely on your risk, for best result, validate first in test environment before using on production environment.


Posted in Exchange, Scripts/Powershell | 6 Comments »

Technet Script Gallery

December 22nd, 2010 by and tagged

A good amount of ready made scripts are available on below website.

Note: These scripts are not prepared/owned by me, so i take no responsibility under any circumstance for any damage caused to the environment.

Posted in Scripts/Powershell | No Comments »

Script to remove Inactive systems from domain

November 11th, 2010 by and tagged

Below is the very good script by Richard L. Mueller to find stale computer records in your domain, i used many times for different client & it worked like charm. It can be run on member server too.

You have to modify the script for your requirement like no of days & Domain name where you want to run the script.

The script will disable all the stale computer & move to the OU named as Inactive & later on you check the log file which is created in C drive named as MyFolder.

Test the script on your lab & then use it on your own risk.

Please save the attached script as MoveOldComputers.vbs from Inactive Computers.doc

Before running the script in your domain, create a OU named as Inactive & also create a folder names MyFolder in c drive in the member system you are trying to run the script.


Inactive Computers

Posted in Scripts/Powershell | No Comments »

Automating Windows Event log

November 11th, 2010 by and tagged ,

I had the situation once, where i was asked to backup the event log on few server & clear it from server to save the space as well as retain log for audit. While, beating my head on the wall, i stumbled to few sites & i found scripts which actually worked for me to achieve my requirements. I have not written below listed VB script, neither confers any rights on it, use it on your own risk.

You can use ADM file to configure setting using group policy.


Posted in Scripts/Powershell | No Comments »