Thank you for the script. We tried to run this on one mailbox and got some sort of a scripting error. I will post the error screen shot asap.
Scott
Main Topics
Browse All TopicsWe've migrated user calendars to Exchange 2007 and are finding that a large number of appointments were migrated into Exchange as FREE instead of BUSY as they were in the source email system. We found this when users reported that they were doing busy searches with the scheduling assistant and user calendars were showing as totally open. When we looked on the actual calendars, many calendars were completely full of appointments...all with a status of FREE.
Is there a powershell script or command that I can run against these people to force each calendar event to BUSY?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I must be doing something incorrectly because I've copied the above 10/23 code into notepad and saved the file as free-busy-test2.vbs onto my desktop. I open Outlook with a user who was migrated and has most of his old appointments and many of his new appointments showing a FREE. My .vbs file just blinks and nothing appears to happen. I closed Outlook and then double-clicked and it brought Outlook up but didn't appear to change the Free Status to Busy.
Ideas?
Thanks for your help so far.
It sorta kinda works. If I open Outlook and open the calendar and then open an appointment and then run the .vbs a couple of times (right click and choose Open on the shortcut or right click "open with" and choose Microsoft Windows-based script host) and have seen the status change from Free to Busy. I don't need to save the appointment before closing it.
What I'm expecting is to open Outlook or let the vbs script open it for the user at their desk and then wait a few minutes and start checking random calendar events with the hopes that they will all be changed from Free to Busy.
Am I missing something?
Tried with Outlook closed and watched Task Manager show Outlook.exe running and then it shut off. Nothing changed.
So I opened Outlook and went to calendar and changed the view to all appointments. My test user has 524 on his calendar, including about 25 future ones. I started with the 25 future ones by opening all of them. Then I ran the .vbs you've provided and waited about 45 seconds and the status changed to BUSY on all. I've gone back to the past appointments and am doing the same at about 50 or so per running.
Any idea why I would need to actually open the appointment window in order for the script to get the status to change?
Your script works and I appreciate your help beyond words...but for the 122 we may have to fix, it will take sometime.
Scott
Bill
The inspector basically accesses the object window. It's precise function when compared with open I don't know but it has it's own properties and methods and in some cases renders an item accessible for changes, ('opens' it) that otherwise are ineffective. Why it should provide an 'open' interface instead of simply opening the item I don't know, it's just one of those things i've picked up on. It does however in my terms open the item and therefore when I have problems I try the inspector which was the case here.
Chris
I'm very glad it seems to be working ... the worst thing about this medium is that it is difficult to understand what is going 'wrong' halfway across the world, (or across the road!) and factor that into the solutions.
For that reason I am sorry it took so long but very pleased to have been of help.
Chris
Business Accounts
Answer for Membership
by: chris_bottomleyPosted on 2009-10-22 at 09:22:28ID: 25635971
Hello ZENandEmailguy,
If the appointments are in the outlook client then a VB script can be used. Save the following as something.vbs then execute from the command prompt or double click in the explorer.
Regards,
chris_bottomley
Select allOpen in new window