Exchange 2010 - Export a list of delegates for a given group of users

I am trying to export a list of delegates on a list of mailboxes in Exchange 2010, and cannot get it to work.  This is the most promising one I'm working with.
$list = import-csv c:\day1.csv
$list | foreach-object {get-mailbox -ResultSize unlimited |
  get-CalendarProcessing |
  select identity -expand ResourceDelegates |
  select @{n="Name"; e={$_.identity.Name}}, @{n="ResourceDelegates"; e={$_.Name}}} |
  export-CSV c:\delegates.csv -NoTypeInformation
I keep seeing the following error:
Cannot open mailbox /o=Organization/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=SERVER/cn=Microsoft System Attendant.
    + CategoryInfo          : NotSpecified: (366:Int32) [Get-CalendarProcessing], MailboxInTransitException
    + FullyQualifiedErrorId : 9DF5103C,Microsoft.Exchange.Management.StoreTasks.GetCalendarProcessing
Can someone tell me what I'm doing wrong here?

$list = import-csv c:\day1.csv
$list | foreach-object {get-mailbox -ResultSize unlimited
I suspect the issue occurs here. You are importing user mail box list and then why are you using -ResultSize parameter? remove it and try
$list = import-csv c:\day1.csv
$list | foreach-object {get-mailbox -Identity $_ | get-CalendarProcessing |
select @{n="Name"; e={$_.identity.Name}}, @{n="ResourceDelegates"; e={$_.Name}}} |
export-CSV c:\delegates.csv -NoTypeInformation
Regards Chen V [MCTS SharePoint 2010]

Similar Messages

  • How can I export a list of events for one of many calendars - e.g. "sailing" to use in Excel

    How can I export a list of events for one of many calendars - e.g. "sailing" to use in Excel?

    See this thread here
    Display number of emails by sender

  • Exchange 2010 – Export details about e-mails in the DB

    Hi
    We have an Exchange 2010 server (v14.03.0195.001) and now we have a need for doing an extended report of all the e-mails received between 1 March (DateStart) and 1 Sep 2014 (DateEnd).
    I am looking for a script (or program) exporting info about all the messages. The script should work like:
    1: For each mailbox dump the content to a file equal %User%.csv (Comma or TAB separated)
    2: For each message received between %DateStart% and %DateEnd% write one line to the file – the line should contain:
    A: Time received (preferable in the format YYYY.MM.DD HH.MM.SS)
    B: The IP-address the e-mail was sent from – retrieved from the message header (we subscribe to a cloud spam / antivirus service and all incoming e-mails are received from this company's IP address - this IP-address don't make sense)
    If easier all the IP-addresses the e-mail have "gone through" can be listed separated with ";")
    C: E-mail address the message was sent to
    D: Subject
    E: Name of all attachments separated with ";"
    Nice if the script will report to the screen during the run:
    Username / user number and how many messages has been listed to the %User%.csv file (update for each 1000? message)
    I am ready to pay some money for a working script or buy a "report generator" which can be used for this purpose. Nice if you have some advice.
    Best regards Harald

    >>The server response was: 4.3.1 Insufficient system resources
    This usually means that there are not enough free disk space on the disk containing the mail.queue so check that.
    Also, see the information in the below Technet Article.
    Understanding Back Pressure
    http://technet.microsoft.com/en-us/library/bb201658.aspx
    Martina Miskovic

  • Exchange 2010 Mailboxes - Can't search delegate's subfolders without full access permission?

    Has anyone run into this situation?  Might be straightforward but I'm not running into a solution..
    I have two users on an Exchange 2010 server, accessing through Outlook 2010.  One is a delegate of the other's mailbox, and has owner permissions to see all the mail, subfolders, send on their behalf, etc...but when they go to search for an email
    (control-shift-F, then click on browse, find a folder that has subfolders...and select it), they don't have access to "include subfolders".  It's grayed out.  
    If I go to the main mailbox and grant full mailbox permissions to the other user, they CAN search and "include subfolders" isn't grayed out, all works properly...but obviously is a bit overkill permission-wise.    
    ...question is, what permission would be allowing a delegate to send on behalf, delete, read, list, etc. another person's email, but not letting the search be more than one folder level deep?
    Thanks in advanace
    Pete 

    Hi,
    First please try to tick “Enable indexing of online delegate mailboxes”
     via the steps below:
    1.Please run gpedit.msc from a command prompt.
    2. Expand Computer Configuration ->Administrator templates->windows components->click “Search”
    3. Double Click on “Enable indexing of online delegate mailboxes” option
    4. Select “Enabled” and click “ok” to close “Local Group Policy Editor”
    5. After that please run “gpupdate /force”
    6. Restart Microsoft Outlook
    Also please add the following registry key to the user computer to enable index in delegate mailboxes.
    Key: HKEY_LOCAL_MACHINE\software\policies\microsoft\windows\windows search
    DWORD: EnableIndexingDelegateMailboxes
    Value: 1
    Note: Indexing the contents of delegate mailbox folder. Using this method we can search through the delegate mailbox folders but we have to specify the folder in which one wants to search an
    Outlook items.
    After that, please rebuild the indexing with
    ResetSearchIndex.ps1
    How to Rebuild the Full-Text Index Catalog
    http://technet.microsoft.com/en-us/library/aa995966(v=exchg.80).aspx
    Please test the issue via outlook online mode after you have rebuild the indexing.
    Xiu Zhang
    TechNet Community Support

  • Exchange 2010 Export Mailbox to PST using only .EDB file

    I have Exchange 2010 SP2 Update Rollup 4, SBS 2011 (which is similar to Server 2008 R2). I have recently recovered from a server crash due to a faulty RAID controller and need to recover some e-mail (and possibly contacts) from a couple of mailboxes.
    My main concern is that my old .edb file is in a old forest that is different than my current forest. Due to the length of the old internal domain name having more than 15 characters (I previously migrated using a answer file) and my current internal
    domain name is 15 characters.local they are different.
    I also dont have the log files or STM file
    With the two internal domain names being different will I still be able to follow this related topic:
    http://social.technet.microsoft.com/Forums/zh/exchange2010/thread/8f4eb425-72ff-4d18-abfc-5c00be7113e2
    If not please let me know which direction I should be going. I know there are third part tools that can get this done but not in the budget right now.
    Teron

    Hi,Teron,
    Cross forest export mailbox is not possible,if you have the old forest server still running you can export the mailbox in the old forest to PST file then import the pst file to your current forest.
    Otherwise you should convert the edb file to PST with thirdparty tool as the above guys said.
    Some additional information just for your reference.
    http://social.technet.microsoft.com/Forums/en-US/exchange2010/thread/d731ac97-416b-4ff6-a4d9-861ce4345292
    http://social.technet.microsoft.com/Forums/en-US/exchangesvr3rdpartyappslegacy/thread/74233836-38d9-4682-81d2-7dd395066574
    Regards,
    Sharon
    Sharon Shen
    TechNet Community Support
    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.

  • Exchange 2010 Mailbox Recipient List changing

    I’m running up against a brick wall.
    This is the Exchange 2010 server (non SBS, running on W2012 Std physical, not Hyper-V). Customer did their own migration from Exchange 2003 several months ago, but were never able to complete decommissioning their old Exchange 2003 server, which I did.
    I ran through cleanup on the new Exchange 2010 (Windows 2012) server. Their primary A/D is another Windows 2003 server, and did cleanup of DNS, etc.
    They've been having a problem with a specific user (Debra) even before I decommissioned the old Exchange. Email on her new Win 8.1 system is flaky -- sometimes it works, sometimes it sort of works and sometimes it doesn’t work at all – meaning
    that sometimes she gets mail in/out and other times she can send out mail, but people will get NDRs trying to send her email, and other times Outlook 2013 just says “disconnected”. Saying that, they have other users on Win 8.1 with no issues at all.
    So, yesterday we created a whole new, different user name (Debra1) -- different email address, different display name, and deleted her old account (Debra) from both Exchange and AD. That didn't help. It worked for a while, and then stopped working.
    Today, we reloaded her machine from scratch. The customer’s IT person on site just called me to report that not only are things still not working, but get this: if he goes to EMC, he does NOT see the new user account (Debra1) we created yesterday
    for Debra, but the old one (Debra) which we deleted is appearing, And, another user (Anna) that we deleted yesterday is showing up in EMC.
    But Active Directory on the win 2003 server shows the new Debra1 account, and the old Debra and Anna accounts do NOT appear.
    What am I missing? What could be causing Exchange to reload mailbox users??
    Thanks in advance!
    Kevin Weilbacher
    -Kevin Weilbacher (SBS MVP)
    "The days pass by so quickly now, the nights are seldom long"
    KW Support MVP Blog
    MVP's do NOT work for Microsoft. We give our time freely to support the SBS community!

    Hi Kevin,
    From your description, I recommend you run the Get-Mailbox cmdlet and check if user Debra1 is in the list.
    What's more, you can click Actions -> Refresh on right side of EMC to update users.
    Besides, if a user cannot send or receive emails using Outlook , I recommend you check if OWA has the same issue at first.
    Hope my clarification is helpful.
    If there are any problems, please feel free to let me know.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • Exchange 2010 SP3 Update 7 breaks OWA for some IE11 users

    I had issues earlier with OWA on some clients running Internet Explorer 11 (as
    documented in this thread), and managed to resolve it by disabling compatiblity mode in IE11.
    After SP3 Update Rollup 7 the issue came back, and no tinkering with the compatibility mode will solve it.
    Have anyone encountered this issue before? The issue only appears on certain machines in their own AD OU as well as own subnets.

    Hi,
    I haven't heard that Exchange 2010 SP3 Update Rollup 7 has this issue so far. In your case, I would like to verify if you remove all interim updates for Exchange 2010 SP3 before installing Rollup 7. If no, remove it and check the result.
    Here is a kb for your reference.
    Update Rollup 7 for Exchange Server 2010 Service Pack 3
    http://support.microsoft.com/kb/2961522
    Hope this can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

  • Exchange 2010 SP3 maximum journal mailbox size for performance

    Hello all,
    Does anyone know if there is a limit mailbox
    size near 01 terabyte than
    above it generates performance problems?
    We have a journaling mailbox that
    reached today 1.077 GB  and
    from there began the process very
    slowly messages to store.
    All (4) Exchange Hub Trasnport that try to connect to this store get an 4.32 store drive error.  A new
    journal mailbox was created in the same
    database, and the problem was solved.
    Thanks
    João Paulo.
     Exchange 2010 SP3 RU8 on-premisses

    Hi Paulo,
    Base on my knowledge,  journaling mailbox as the same as any other mailbox, the maximum size depends on the data to be stored in the mailbox, the hardware resources available, and the disaster recovery requirements
    for the server where the journaling mailbox is located.
    If you configure journaling mailboxes without storage quotas, monitor the Mailbox server to ensure that it doesn't exceed the available hardware resources or disaster recovery capabilities.
    Best regards,
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Niko Cheng
    TechNet Community Support

  • Exchange 2010 New Address List insufficient access rights

    Hi,
    I have tried to perform two actions within our new Exchange 2010 system and they fail with the same error.
    The first was to convert an existing Address Lists using LDAP to OPATH
    I used the following command:
    set-addresslist "Exchange 2010 Test" -recipientfilter {(recipienttype -eq "MailUniversalSecurityGroup") -or (recipienttype -eq "MailUniversalDistributionGroup") -and (name -like "exchange2010.*")}
    I get the error Access is Denied Active Directory response 00000005: SecErr: DSID-031521D0, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0
    I also get the same error when I use the Exchange 2010 EMC to try and create a new address list.  Note I have no problems managing address lists from Exchange 2003.
    I have seen plenty of articles about the making sure that the user performing the action has the "Include inheritable permissions from this objects parent". 
    I did check my Exchange admin user and this was not ticked.  Turns out that because I was also a domain admin so my account was in a protected group (Domain admins) the tick box was continually being removed.
    I created a new Exchange user that was in the Exchange Organization Administrators security group, made sure the above box was ticked on the account but this did not fix the problem.
    I have however noticed in Adsiedit that the "CN=All Address Lists" container does not have the "Include inheritable permissions from this objects parent" ticked.  I suspect that this might be the issue but I don't want to tick it
    in case it breaks my address lists.
    Should the inherit box be ticked on the "CN=All Address Lists" container?.  It is ticked on all the containers under the "CN=All Address Lists" container. 
    At present the only Exchange permissions on the container are:
    Exchange Admins: Full Control
    Exchange Domain Servers: Read
    Exchange Services: Full Control
    I think that crucially the "Exchange Trusted Subsytem" security group is not listed
    I have added my new Exchange account with Full control permissions but this has not made a difference
    Your hopefully
    Matt

    Hi Matt,
    From your description, I would like to clarify the following things:
    1. "Include inheritable permissions from this object's parent" should be checked.
    2. "Exchange Trusted Subsystem" should be added to the All Address Lists container.
    So you are in the right direction.
    Hope this can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

  • Exchange 2010 update after Update Rollup 5 for Exchange Server 2010 (KB2407113)

    Mine exchange server 2010 standard has Update Rollup 5 for Exchange Server 2010 (KB2407113) as latest update.
    Can someone help me which update i can install after this, can i start with
     Update Rollup 1 for Exchange Server 2010 SP1.
    Many thanks in advance

    My recommendation will be:
    Remove update roll-up 5
    Install SP1 check that everything is working
    Install SP2 check that everything is working
    Install SP3 check that everything is working
    I think it will be risky for you to go straight to SP3.
    Exchange Blog:
    www.ntweekly.com
    MCSA, MCSE, MCITP:SA, MCITP:EA, MCITP:Enterprise Messaging Administrator 2010,MCTS:Virtualization

  • How to find list of transactions for a given component

    Is there any table that holds information about transactions.
    My requirement is to retrieve all transactions for a particular component.e.g. list fo transactions for SD or MM.
    I am into java and have need to develop a program to retrieve teh above information using sap jco.
    Hence if there is any RFC or table holding this info please let me know.
    Thanks and Regards,
    MNGHosh

    Hi
    Let me explain this witha na example.
    Let us assume that one developer received a requirement on Material Management Module.
    (Create Material)
    Step1:
    Go to the Transaction Code : SDMO.
    Step2 :
    Execute SDMO Tcode from SE93 or Press /nSDMO
    Step3:
    It will prompts for you  a Dynamic menu with text box.
    Step3 :
    Enter your required description in that text box and press F8 or press execute button.
    Here Iu2019m entering u201CMaterialu201D as description and pressing F8.
    Step5 :
    We will get the list of Transaction Codes associated with the description u201CMaterialu201D as Follows.
    Step6 :
    In the above list, we will get all Transaction Codes associated with the description u201CMaterialu201D
    Search for your required transaction code based on your need.
    Suppose if our requirement is to create a material then search with the word u201Ccreateu201D in the above list.
    Step7 :
    It will gives you the sub list of Transaction codes associated with Material and Create search terms
    Step6 :
    In the above list, we will get all Transaction Codes associated with the description u201CMaterialu201D
    Search for your required transaction code based on your need.
    Suppose if our requirement is to create a material then search with the word u201Ccreateu201D in the above list.
    Step7 :
    It will gives you the sub list of Transaction codes associated with Material and Create search terms.
    Step8 :
    If you observe the list, we got many Transaction Codes including
    MM01 u2013 Create Material in the Sub list.
    In this way we will get the required Transaction Code using the description only.
    This is applicable to any module.
    Regards,
    Sreeram

  • Listing logical database for a given application component

    hi
    which function module will return the logical database for a given application component from the SAP hierarchy.
    Example:
    Input- application component- LO
    output- MSM, etc.,
    Thank you.
    your time and answers will be compensated with points.

    Why dont you use two selects to get the required information#
    TAble <b>APADEVC</b>
    Here you will get the link from Application Component to Package
    Application Class - Packet
    Package           - Devclass
    Then if you go into Table <b>TADIR</b>
    and give the following input
    PGMID = R3TR
    OBJECT = LDBA
    DEVCLASS = package name
    you will get all the Logical Databases for that Application Component.
    Here obj_name will be the Name of the LDB's
    Message was edited by:
            Dominic Pappaly

  • Exchange 2010- Global Address List

     Hello,
    I've created an automatic on-line room booking using outlook. I've also set-up external users with a limited user account which has access to Outlook Web Access to allow them to log in and book the meeting rooms. I have also changed some permissions which I
    was hoping will limit the external users access to the Global Address List, by doing so the external users now can't access the rooms list. Is there a way to restrict the access to the Global Address List without restricting the access to the room list for
    our external users?
    Thank you, Cyan Petals

    Hi,
    How do you make the external users access Exchange mailbox from OWA?
    Generally, we can use Address book policies (ABPs) to segment users into specific groups to provide customized views of your organization’s global address list (GAL). And it can be assigned to Exchange mailboxes.
    http://technet.microsoft.com/en-us/library/jj657455(v=exchg.150).aspx
    Regards,
    Winnie Liang
    TechNet Community Support

  • List A Constraint For a Given Attribute In A Table - DESCRIBE?

    Hello,
    Given a real simple table that has a CONSTRAINT on one of the attributes, I'm trying to find out he NAME of the constraint so that I can alter it.
    When I perform the DESCRIBE command for the table of interest, the following output occurs:
    DESCRIBE Room;
    Name Null? Type
    ROOMNO NOT NULL NUMBER(4)
    HOTELNO NOT NULL NUMBER(6)
    TYPE CHAR(1)
    PRICE NUMBER(5,2)
    I know that the TYPE and PRICE attributes have CONSTRAINTS, so how do I find out those CONSTRAINTS?
    Thank you

    SELECT *
      FROM user_cons_columns
    WHERE table_name = 'ROOM' AND column_name IN ('TYPE', 'PRICE')

  • How to return a list of opportunities for a given contact

    Do you know how to do this? I looked at the Contact.xml (ws 2.0) QueryPage method but there's no ListofOpportunities. Below is my code so far
    <soapenv:Body>
    <ns:ContactQueryPage_Input>
    <ListOfContact>
              <Contact>
                   <Id>='ADSA-8D59T5'</Id>
                   <ContactEmail/>
              </Contact>
    </ListOfContact>
    </ns:ContactQueryPage_Input>
    </soapenv:Body>

    I have to Querypage on the Opportunity object.

Maybe you are looking for

  • Not inlcude empty tag while invoking service from ESB

    The ESB receives a request with input xml which contains some empty tag. while ESB invokes the actual services the empty tags should not be included. can any one help how to achieve this?

  • Get in a LV tree ctrl a sequence structure

    Hi, I am doing an editor for customizing some sequence parameters (for example "run mode). I'd like to import into a LV tree control all the test sequence maintaining the same structure of the original one. I mean, each step is an item of the tree (T

  • OSB replace action failed..

    very urgent help needed. Scenario: 1. My proxy service (new wsdl based) calls business (legacy wsdl based). 2. I want to transform input format from new format schema to legacy format schema. 3. I write a Xquery and Replace ./* in variable body with

  • Adobe XI wont open and can't uninstall programme

    Adobe Reader XI won't open on Windows 7 and I am trying to uninstall programme so I can istall it again, however it keeps saying adobe is open with a 'file in use';however it is not. Even checked task manager and nothing running. Please help?

  • How to re-install Photobooth app?

    Hello, I've accidentally deleted my photobooth application from my macbook pro. How to re-install or re-download it? I tried Pacifist, it didn't work! Ps. I don't have the installous CD/Disk.. What to do?