Exchange 2007 Powershell command to find shared calendars? Migration 2013 prep.

I'm attempting to clean up my AD and Exchange mailboxes ( for a migration to 365) but I've run into a snag. It turns out that I have a number of departments that are using shared calendars that were created and shared by former employees.
Environment:  Server 2008R2, Exchange 2007, Outlook 2010.
Most of these calendars were not created as rooms, or in a public storage container like 2000 used to use.  They are all end user created, shared and stored.
The problem is I can't delete a lot of these inactive user accounts because of these shared calendars.  I want/need to find ALL of them (meaning any user account with a shared calendar), export them and move them to a room so I don't
have to worry about personnel changes anymore.
Is there a way to find all of these shared resources (calendars) in PowerShell??  I can't really ask my end users.  Many of them still think "deleted items" is a storage compartment.

Try this command to list-out the calendar permission of users :
Get-MailboxFolderPermission <mailbox>:\Calendar
You can use DSQuery command to remove inactive users in active directory : http://portal.sivarajan.com/2010/03/delete-stale-or-inactive-computer.html
You can also have a look at this technet blog that describes in depth to remove inactive AD users: http://blogs.technet.com/b/heyscriptingguy/archive/2011/11/30/use-powershell-to-find-and-remove-inactive-active-directory-users.aspx
Further, to accomplish this task automatically, you can take a look to this proficient application also (http://www.lepide.com/active-directory-cleaner/) that would be a good approach in order
to find out and cleanup inactive users in active directory in a quick attempt.

Similar Messages

  • ICal holidays missing - Find Shared Calendars menu item broken

    In iCal, Calendar menu, Find Shared Calendars...
    This menu item takes you to a broken (as of today) link:
    http://www.apple.com/ical/library/

    When clicking "Find Shared Calendars...," Leopard OS system sends IP packets to nwk-www.apple.com, 17.149.160.10.
    ・Source IP Address (private): 192.168.1.2
    ・Destination IP Address: 17.149.160.10 at the beginning of the session for "Find Shared Calendars..." procedure.
    Leopard 10.5.1 sends a DNS query to connect 128.241.220.87 that is NTT America. Communications between Leopard and NTT America go for a while. So is Omniture's server followed. Some unique user's information is transmitted on all the servers communication.
    Leopard queries DNS server (208.67.2222.222 which I set for Leopard) for metrics.apple.com (this seems to be a server for iTunes Store). What the deuce Leopard needs to call iTunes Store at the phase of finding iCal sharing calendar?
    Besides, I have not been purchased any products from iTunes Store for years.
    Actually, NTT America has been attempting odd access behaviors to my nodes for the recent few years before the business with Apple started whenever the hacker (I have been tracking him for three years.) is right behind me.
    Now NTT America 128.241.220.87 replies to Leopard with the ACK (TCP Acknowledgement flag) bit. Next, nwk-www.apple.com (17.149.160.10) also sends Leopard a ACK bit simultaneously. Leopard answers it with the ACK. Now the DNS server replies the ten host addresses to the query of metrics.apple.com: appleglobal.112.2o7.net, 66.151.152.125, 66.151.152.126, 66.151.152.143, 128.241.21.13, 128.241.21.14, 128.241.21.15, 128.241.21.146, 128.241.21.149 and 128.241.21.163.
    66.151.152.xxx = Omniture, Inc that provides web analytics solutions for internet channel monitoring. They operates the 2o7.net domains. For more information: http://en.wikipedia.org/wiki/Omniture
    128.241.21.xxx = NTT America, Inc. (http://www.nttamerica.com/products/index.php)
    At the last session, Leopard queries "wsidecar.apple.com," but strangely the DNS server answer the canonical address which is "wsidecar.apple.com.akadns.net" with its address 17.149.160.15 but not DNS registered address 17.112.152.39.
    17.149.160.15 (Apple's server but not 17.149.160.10) sends Leopard a FIN/ACK bit which means the TCP connection is closed by the server ONE-SIDEDLY despite Leopard answers to 17.149.160.15 with the acknowledgement to get ready for the US calendar sync data download start.
    Here is a nslookup wsidecar.apple.com:
    $ nslookup
    wsidecar.apple.com
    Server: 208.67.222.222
    Address: 208.67.222.222#53
    Non-authoritative answer:
    wsidecar.apple.com canonical name = wsidecar.apple.com.akadns.net.
    Name: wsidecar.apple.com.akadns.net
    Address: 17.112.152.39
    CONCLUSION: There are a few inconsistencies on TCP/IP communications.
    My computer: Power Mac G5 Dual 2.7 GHz/5GB DDR SDRAM
    OS: Mac OS X 10.5.1 and Mac OS X 10.4.11 for dual boot.
    Message was edited by: Fumiaki Kawashima

  • Shared Calendar Interoperability (2013 / 2007)

    Hello,
    We have two Exchange servers in our Organization, a 2007 where most mailboxes reside, and a 2013 where we are slowly doing a one off user migration here and there to test the waters so to speak.
    We have users that constantly have/had problems with Outlook freezing on send, or other connectivity issues.  These are our first target people to move to the new server.  I have one user who I moved yesterday who is trying to share a calendar
    she calls "Managers Schedules" to other managers.  She created this calendar and keep in mind she is on the 2013 server now.  She shared it with reviewer permissions to 4 other employees but those 4 others are still on the 2007 server.
     The other people are getting an email with links to view the calendar but they say that they cannot open it.  The person sending this is also getting a message that they should publish the calendar.  When they click yes to that, IE opens up
    to Outlook Web Access????  I said lets just see what happens if you log into OWA.  She did and it gave her some options to make the calendar public or private and it gave her two links to copy.   Now I was able to open the one link... it downloaded
    an ical file, however I am on the 2013 server.  No one else can open the links.
    So long story short, is there any kind of interoperability between shared calendars on Exchange 2007 and 2013 (vice versa)?  Or am I going to have to move these 4 other users to the new server, which in turn will likely cause a chain reaction since
    they are managers and have access to their employees email inboxes as additional mailboxes in Outlook.

    Hi,
    We can’t directly share the calendar which is not the default calendar for a user. Generally, we would share a custom calendar by the following steps:
    Right-click the custom Calendar, click Share > E-mail Calendar. Then the calendar would be added as an attachment in a message.
    When the recipients receive the message, click Open this Calendar, a window would be prompted out to ask if add this Internet Calendar to Outlook. You should only open Calendars from sources you know and trust.
    Please e-mail calendar in Outlook Online mode by the steps above. Then check whether the issue persists.
    Regards,
    Winnie Liang
    TechNet Community Support

  • Ical and finding shared calendars

    Ical is working fine on my emac with 10.4.7 OSX
    except for the following:
    When I try to download a shared calendar for on the "search shared calendar"such as the ACT testing calendar it pops up as an error stating iCal is not installed. Safari can’t open “webcal://ical.mac.com/ical/ACT.ics” because iCal is not installed. Well it is installed because we manage 3 calendars every day - I guess something is note installed poperly. Please help!

    I'm not optimistic about the preferences file solving this problem, but the preferences folder lives in your Library folder (~/Library).  You can get to it by opening a Finder window, then in the Menu bar, choose "Go > Library" while holding the option key.  The Finder window should now show your user Library folder.  Go to the Preferences folder and find the file com.apple.CalendarAgent.plist and delete it.
    Disclaimer: Although deleting preferences files is usually harmless, please make sure you have backed up your computer before you do this, as I'm not responsible if doing so causes problems. 
    If none of this works, you could send feedback to Apple here:
    http://www.apple.com/feedback/ical.html (ironically, still labeled iCal)
    or here:
    http://www.apple.com/feedback/icloud.html
    or both!

  • Exchange 2007 with pop3 downloader to office 365 migration

    Hi,
    i would like to migrate my exchange server (exchange 2007) to office 365,
    presently i am downloading mails from a online mail service to exchange 2007 through a pop3 downloader  and i am distributing this mails locally ( around 20 mail box)
    how do i migrate my exchange mails to office 365, is there any automated way to do the same
    requesting your valuable suggestions
    Regards
    Ratheesh
    Ratheesh

    Hi,
    The partially complete in the migration report means there are some items have been skipped due to some reasons. If you check the skipped items, you will see the value is not 0 like other users with status as complete. Usually, this value is not high(1 or
    2 in most circumstances) which means only limited items have been skipped.
    Hope this helps!
    Thanks.
    Niko Cheng
    TechNet Community Support

  • This is for Exchange 2007 but can't find a place to post it. It may apply here I don't know. What exactly happens when you suspend LCR?

    OK. I searched out here and found things close to what I need: how to suspend and restore LCR but I need another answer. I have gotten a new backup solution (Unitrends) and the Microsoft exchange write appears twice. I'm guessing one is for my first storage
    group and one is for LCR. Anyway it appears the software is trying to use the replication writer which is causing my backups to fail. Here is my question: what EXACTLY happens when I suspend the LCR (Suspend Storage Group Copy)? Does this affect regular exchange/email
    transport and receiving at all? Basically if I disable it will mail continue to flow as normal with no adverse affects? And what EXACTLY happens when I disable LCR. What if I decide I don't need it. Will disabling it affect normal email operations? Basically
    will either of these options in ANY way interfere with normal mail flow? Thanks.

    Hi,
    Based on my knowledge, suspending LCR doesn't affect the mail flow. If there is no need for LCR, you can disable LCR, and then please manually delete the LCR storage group and databaase fles.
    For more information about LCR, please refer to
    Local Continuous Replication.
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • How to Read Outlook Exchange Shared Calendars on iPhone?

    My company uses microsoft outlook exchange and I have been using iphone syncing with this outlook exchange calendar. Besides my own calendar, on the outlook exchange, I have access to another shared calendar. I want to be able to read this shared calendar on my iPhone but cannot figure out how to do it. Previously I learned from other postings that iPhone doesn't support it.
    The new OS 3.0 support CalDav and I am wondering if this will enable me to read the shared calendars of my outlook exchange on my iPhone. Does anybody know how to do it? If the current firmware solely doesn't support it, might there are other ways to do it with supports of other apps? How about through Google Calendar? Or there are any apps can automatically copy the contents in the outlook exchange shared calendars to my outlook exchange calendar?
    Does anybody have solutions? Many thanks!

    The shared MS Exchange calendar is ICS format which SHOULD be able to be added as "Add Subscribed Calendar" in the Settings/Mail, Contacts, Calendars/Add Account/Other screens on the iPhone.
    I'm tring to add a 2nd Exchange Outlook calendar only and need it to sync over the air.
    Just can't find the correct way to get it entered to work? The link sent by Outlook (I'm running 2007) when you send the invite doesn't work and copy/paste to the server name is also a bust. Have tried direct copy paste, cutting off the webcal:// prefix, etc. Just won't authenticate.
    No documentation that I can find on either Apple or MS site to validate the exact syntax required.
    I can hit the https link provided by MS on my Safari iPhone browser after entering my MS Online ID and access the calendar online. And yes tried several of MS Online IDs that I have as UID/PW in the iPhone config screens without success.
    A little more info on my config.
    3gs 32mb
    Have exchange acct as primary email with email contacts and calendar working
    Have CalDAV link to my wife's Google calendar working
    Have several other subscribed calendars (ics) working: US Holidays, AmericanHistory.com, and my TripIt profile.
    I DO NOT want to use MobileMe to make this work. Life would be so easy if iPhone would just support multiple Exchange accts!
    Funny thing I just noticed...spell check on forum IDs "iPhone" and "MobileMe" lol

  • Free/Busy not working Exchange 2007 and 2013 co-existence

    Hi,
    I'm migrating our Exchange 2007 environment to Exchange 2013. Now I am in a co-existence environment where all the mailboxes except some test-users resides on Exchange 2007. Between Users on the same Exchange MBX Server athe FREE/BUSY Information sharing
    works correctly, but between Exchange 2007 and 2013 it's not working.
    I verified my settings and also the EWS virtual directory on 2007 CAS Servers using Get-WebServicesVirtualDirectory.
    The internal and the external URLs are set to https://legacy.mydomain.com/....
    What am I missing?
    Thanks & Kind Regards,
    Jürgen

    Hi,
    According to your description, I understand that the free/busy information between Exchange 2007 and Exchange 2013 is not available for your coexistence environment. To narrow down the issue, please check the following points:
    1. Does the issue happen to all users or specific users?
    2. Although a user on Exchange 2013 can't get free/busy information from a user on Exchange 2007, please confirm whether Exchange 2007 user can get free/busy information from Exchange 2013 users.
    3. Close Outlook and only access user mailbox from OWA to check whether the issue persists. For Outlook client,
    create a new Outlook profile
    to have a try.
    4. Please make sure the virtual directories settings are configured correctly in both Exchange 2013 and Exchange 2007.
    Virtual directories settings in Exchange 2007:
    http://blogs.technet.com/b/meamcs/archive/2013/07/25/part-3-step-by-step-exchange-2007-to-2013-migration.aspx
    Certificate and Virtual directories settings in Exchange 2013:
    http://blogs.technet.com/b/meamcs/archive/2013/07/25/part-2-step-by-step-exchange-2007-to-2013-migration.aspx
    5. Restart IIS service in Exchange server by running iisreset /noforce from a command prompt window.
    If possible, please run Test E-mail AutoConfiguration in Outlook to check whether the autodiscover service can get correct Availability service URL in the results. If there is any event logs, please collect some for further analysis.
    Regards,
    Winnie Liang
    TechNet Community Support

  • Exchange 2007 calender permissions

    Hi! we are running an Exchange 2007 server and we want all calendars to show free/busy permission only. We know how to change this on userlevel, from every Outlook. But we want to know if there is a way to change this from the server so it Changes for everyone.
    I've been working on this for a few weeks  trying to find a solution, so please, it would be so nice if someone could try and help me!
    Thanks!
    /Martin
    msterley

    Hi Martin,
    In Exchange 2010, we can use Set-MailboxFolderPermission cmdlet to change all users default permission to free/busy to achieve it. However, this cmdlet is not supported in Exchange 2007.
    As for Exchange 2007, we can use PFDAVadmin tool to change the default calendar permissions for all users to free/busy time. For more information about how to set the Default permission for all users in Exchange 2007, please refer to:
    http://blogs.technet.com/b/austinmc/archive/2009/07/29/how-to-set-the-default-calendar-permissions-for-all-users-in-exchange-2000-2003-and-2007.aspx
    Hope it helps.
    Regards,
    Winnie Liang
    TechNet Community Support

  • Replacing Exchange 2007 with another server with new server name

    I am working with a client to move Exchange from the server it is on now to another server. This will be new hardware and new name. The current server Exchange is on will still exist by I want to move Exchange completely off of that server. 
    Current Network Setup:
    Server 1: 1 SBS 2003 server is Domain Controller, Runs AD, DNS, DHCP, File Sharing, SharePoint 2003 and Remote Desktop
    Server 2: Server 2008 running Exchange 2007, Backup Domain Controller, File Sharing, SharePoint 2007, Terminal Services. 
    Current Plan:
    Introduce Server 3 to run just Exchange 2007. I would like to completely over a short period of time move exchange from Server 2 to Server 3. I have searched over the internet and found several articles but still have a few questions. There are roughly 75
    mailboxes with 50 actual users. Some users are using Outlook 2003 that came with the SBS 2003 and others are using Later versions of office. Server 3 will be a Server 2008 R2 system.
    1. What is the best method to perform this transfer. I found article TechNet
    Article that explains with 2 remote offices how to do this but not sure if the same will apply.
    2. Since I am not immediately decommissioning Server 2 how can I safely remove all the roles and add them to Server 3?
    3. For the end user impact. Will the change make Outlook automatically pickup the new server name or will each user need to reconfigure their outlook profiles?
    4. I will be moving OWA since there are several Remote and Terminal Service users that use OWA for email. I would like to keep the same certificate and domain name setup if possible. 

    Hi,
    According to your description, I recommend you install another exchange 2007 on server 3, the exchange server role as the same as server 2.
    And then, transfer all mailboxes and configurations(OWA,DNS..) from server 2 to server 3.
    Finally, decommission the server 2 .
    Thanks.
    Niko Cheng
    TechNet Community Support

  • Sharing Calendar from Outlook 2011 (Exchange07) to iCal

    I have a user using Outlook 2011 on Exchange 2007 who wants to share a calendar read only to several users.  A lot of the users use only iCal.  What will/should the iCal users do/see to make this happen?
    Note: I am just a hair past Newbie when it comes to macs.

    Well, after a lot of reading, being new with Apple, I am disapointed to read that Apple stopped the sync features since 10.7.........

  • Uppgrading Exchange 2007 from sp1 to sp3 on small business server 2008 sp1

    Hello everyone
    I know this topic has been discused many time in this froum. but i have to ask it again in my exact situation. 
    I have a realy unstable and unsafe server which i am planing to migrate all the apps and services to some virtual servers soon.
    first migrating is Exchange. i have Exchange 2007 sp1 on my server sbs 2008. i have my DC,AD, dns, DHCP, File, etc on the same server as well . So that is way it is scary for me (as i am not really experienced) to even upgrade one service pack.
    Now, i want to know if anyone did it before. What should i expect during upgrading or after that? so i can be ready for that?
    which kind of backup can save me if somethings happens to my Exchange? is there any way to install the new Exchange 2007 and sp3 rollup 10 and then migrate all databases and mailboxes to that new server? if yes, how to do that?
    Thanks 
    Nima

    Hi Nima,
    Ok, I know your concern. Please make sure you have read the above KB I provided before installing SP3 for Exchange 2007. What's more, you need to make sure you right mouse click and run as admin to install it.
    Moreover, here is a thread about migrating Exchange 2007 SP3 to Exchange 2013 for your reference.
    Migrate SBS 2008 R2 running Exchange 2007 to Windows Server 2012 Exchange 2013
    http://social.technet.microsoft.com/Forums/en-US/4c9b96c2-fd5e-4fbe-8b3a-fb5b3ab29da8/migrate-sbs-2008-r2-running-exchange-2007-to-windows-server-2012-exchange-2013?forum=smallbusinessserver
    Hope it helps.
    Best regards,
    Amy Wang
    TechNet Community Support

  • Coexistence with Exchange 2007 and 2013

    Hi everyone ,
    i migrated this week to exchange 2013 in coexistence with exchange 2007 ,,,, is it normal that i cannot create anymore a mailbox on the exchange 2007 server even with the console (ecp) in 2013 ?? 
    thanks

    Provided an answer on your other thread
    https://social.technet.microsoft.com/Forums/en-US/393a2406-5202-4d21-9583-2e4beed574be/create-mailbox-on-2007?forum=exchangesvrgeneral
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread

  • Shared calendars in iCal via Exchange 2007

    I am trying to test a solution for a user that has an iMac she wishes to connect to our Windows network and access her email and calendars from home. She will VPN of course, and upgrade to Snow Leopard for Exchange support. I have everything working up to that point on a test MacBook with 10.6.2 that is on the inside (will test VPN after everything works internally). I created an Exchange account that I can receive mail in Mail.app and normal calendar events in iCal.
    The situation she is attempting to do is to see shared Exchange calendars. Not public folder calendars, but individual calendars that have been shared with her. Now in Outlook, all you have to do is click Open a Shared Calendar and input the user name of the calendar owner. In iCal, I think it is the Subscribe function, but it asks for a URL. What am I supposed to enter there? I have Outlook Web Access (OWA) URLs for the calendar I am trying to access, but when I input the URL string, I get an error saying the data was not valid.
    Anyone else doing this???
    BTW, here is a link to a shot of the error message I am getting:
    http://www.flickr.com/photos/gdavidson79/4381829031/
    Message was edited by: gdavidson79
    Message was edited by: gdavidson79
    Message was edited by: gdavidson79

    There is an alternative way you could try which works very well for our client who uses both macs and pc's on a windows network.
    On iCal go to ICAL > Preferences. Click on the Accounts tab, select the exchange account and click on the delegations tab. On here click the + symbol and type in the first few letters of the user who's calendar she needs access to - if exchange is configured correctly it should automatically find the username and add that calendar to iCal for her to view.

  • Powershell command to migrate Exchange 2007 mailbox databases with a legacy name, & import them into a new 2007 instance, with a new name.

    Hi All. I am currently at the later stage of provisioning a new CCR Exchange 2007 migration (to
    virtualise old Exchange 2007 hardware) for 5,000 users & have a quick question.
    I have created around 15 newly named storage groups, & have named 1 new DB per group, with the same name (let's say New-DB-1), residing within them.  The problem I have, is the old legacy DB's have different names (let's say Old-DB-1) & I need
    to import them into the new storage groups, to match the new names. So far I can import/export between old & new OK if both old & new DB names\folders etc. names marry up perfectly, but are unable to if there not the same. Does anyone have any thoughts
    on how best to tackle this, as this is one of the final hurdles stopping the migration? Many Thanks, John 

    Hi All
    Many Thanks for the feedback.
    The terminology 'migrate' was used based around the fact I will be decommissioning the old 2007 physical environment. This is after moving all DB's over to the new newly created Virtual environment that will host all roles.
    The solution I ended up using yesterday, was the following:
    1) Dismounted the relevant named DB (NEWDB) in the new environment.
    2) I then ticked the 'This database can be overwritten by a restore option' box.
    3) Copied over the old named DB (OLDDB) to the same location, & overwrote using the new name (NEWDB).
    4) Re-mounted the (NEWDB).
    5) Ran the following 2 PowerShell commands:
     Get-mailbox –database OLDDB | move-mailbox –targetdatabase NEWDB -configurationonly:$true
     Get-MailboxDatabase NEWDB | ResetSearchIndex.ps1 -force
    6) Checked to make sure the clients were working ok, in the now the new (NEWDB) environment.
    Rich: Many thanks for your PS script, which I will test with future DB moves & provide feedback
    J
    John.

Maybe you are looking for