Deleting stale/inactive Office Communications Server 2007 Users

I was just given the honor of becoming my company’s OCS 2007 R2 admin. Yay! Well, my plan is to get to the latest and greatest sooner rather than later.

In the meantime, I noticed that we use a script to add and enable AD User Accounts their SIP addresses, etc.

I also see that we have never cleaned up after a user leaves the company. So we have years of SIP enabled users in the OCS 2007 MMC.

Does anyone have any ideas, best practices, scripts that I could run to remove Communicator accounts that haven’t been touched in say 30, 60 or 120 days?

My understanding is that deleting OCS Enabled user accounts in the OCS MMC will not delete the AD Account, which shouldn’t exist, but just in case.

Thanks in advance.
Christian HansUndecided... Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Peter HutchisonSenior Network Systems SpecialistCommented:
Ideally you would use the OCS MMC to disable SIP enabled users. Remove the user from OCS will only  update the attributes of the AD account and will not delete it.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Christian HansUndecided... Author Commented:
Thanks Peter, yes, thats how I was planning on removing accounts, was just curious if theres a way to automate this or even run a script once a month to delete accounts that either were disabled in AD or deleted.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Chat / IM

From novice to tech pro — start learning today.