March 9th, 2011 by Awinish Vishwakarma and tagged Active Directory, Scripts/Powershell
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.
http://joeware.net/freetools/tools/oldcmp/index.htm
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
http://www.joeware.net/freetools/tools/adfind/index.htm
Joe’s Blog
http://blog.joeware.net/
Posted in Directory Services, Exchange, Scripts/Powershell | 4 Comments »
December 22nd, 2010 by Awinish Vishwakarma and tagged Exchange, Scripts/Powershell
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.
http://gallery.technet.microsoft.com/ScriptCenter/c1a9e5b1-4e48-4659-8d9c-2ab8f7a01e60/
http://blogs.technet.com/b/schadinio/archive/2010/08/11/exchange-2010-cross-forest-mailbox-moves.aspx
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 »
December 22nd, 2010 by Awinish Vishwakarma and tagged Scripts/Powershell
A good amount of ready made scripts are available on below website.
http://gallery.technet.microsoft.com/scriptcenter/en-us
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 »
November 11th, 2010 by Awinish Vishwakarma and tagged Scripts/Powershell
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.
C:MyFolder
Inactive Computers
Posted in Scripts/Powershell | No Comments »
November 11th, 2010 by Awinish Vishwakarma and tagged EventLog, Scripts/Powershell
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.
http://www.scriptinganswers.com/vault/Event%20Logs%20and%20Logging/
http://www.tek-tips.com/viewthread.cfm?qid=1225274&page=1
http://www.enterpriseitplanet.com/resources/scripts_win/article.php/3776106/Backup-and-Clear-Event-Logs.htm
You can use ADM file to configure setting using group policy.
http://mx02.wellbury.com/misc/EventLogPolicy.adm
Posted in Scripts/Powershell | No Comments »