Exchange Shell Mailboxes, Quota Reports

Having Exchange 2013
I am looking for powershell command / script to get reports with following: 
Name, Email Address, MailboxSize, TotalItemCount, DatabaseQuotaSize, DatabaseIssueWarningQuota, DatabaseProhibitSendQuota, ProhibitSendReceiveQuota
Regards, Ganesh, MCTS, MCP, ITILV2 This posting is provided with no warranties and confers no rights. Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread.

Hi Aganesh007,
Please check my contribution it may help.
https://gallery.technet.microsoft.com/exchange/Email-statistics-including-e9cb1b26
Thanks, MAS
Please mark as helpful if you find my comment helpful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you.

Similar Messages

  • Need to get a listing of all users and their corresponding Exchange 2013 Mailbox Quotas using Powershell

    I will be changing the default quota on mailboxes soon, but there are a number of others who have "customized" quotas and I will need to identify them also.
    Charlie

    The following powershell command can get you the mailboxes that are using "custum "quota:
    Get-Mailbox -Resultsize unlimited | where-object {$_.UseDatabaseQuotaDefaults -eq $false}

  • Exchange 2013 mailbox user reports 2 years of sent items from his mailbox have gone missng

    hello, 
    bit of an odd one as at the moment as its only one user reporting this problem so far.
    the user is saying that the only folder affected is sent items and that items from 2012 to present date have vanished from there sent items folder.
    they are adamant they have not deleted them and there not in there deleted items folder either.
    they are computer literate so i inclined to believe that the issue lies with exchange.
    when they checked there sync issues folder on outlook it came back with hundreds of 
    "Synchronization of some deletions failed." errors and also "746
    item(S) deleted in online folder"
    i do have database backups so i can recover deleted emails from those if worst comes to worst 
    does anyone have any suggestions on what i can do to resolve this issue or point me in the direction of where to start troubleshooting from?
    many thanks
    Gordon

    hello, 
    bit of an odd one as at the moment as its only one user reporting this problem so far.
    the user is saying that the only folder affected is sent items and that items from 2012 to present
    date have vanished from there sent items folder.
    they are adamant they have not deleted them and there not in there deleted items folder either or available for recovery.
    they do use outlook on there mobile so there is a chance that they inadvertently deleted them via there phone client 
    they are computer literate so i am inclined to believe that the issue lies with exchange,
    when they checked there sync issues folder on outlook it came back with hundreds of 
    "Synchronization
    of some deletions failed." errors and also "746
    item(S) deleted in online folder"
    i do have database backups so i can recover deleted emails
    from those if worst comes to worst 
    does anyone have any suggestions on what i can do to resolve
    this issue or point me in the direction of where to start troubleshooting from?
    many thanks
    Gordon

  • Mailbox quotas are different between EMC and shell commandlets output

    Exchange 2013 SP1, Win2012-based AD.
    Recently I increased default mailbox quotas settings on our mail database from 1 to 2 Gb. As earlier quotas for several mailboxes were set individually and no list of those mailboxes was kept, I decided to find all those mailboxes. So I run the following
    command:
    Get-MailboxDatabase | Get-Mailbox | fl name,EmailAddresses,*quota >c:\temp\quotas.txt
    Looking through the generated file, I discovered a score of mailboxes with explicit quotas. However, when I opened their settings in the EMC, all the quotas were displayed as 'Unlimited'. Further investigation showed that if I set specific
    quota settings on those mailboxes using the EMC, they are displayed correctly by the Get-Mailbox commandlet. However, if I set them back to 'Unlimited' in the EMC, Get-Mailbox continued to return the previous explicit settings. The only way to correct it was
    setting those values to 'Unlimited' using the Set-Mailbox commandlet.
    AD replication is healthy. There is no AD-related errors in the Application logs of our database servers. Other mailboxes with explicit quotas behave normally.
    How can it be?
    Evgeniy Lotosh
    MSCE: Server infractructire, MCSE: Messaging

    Hi,
    I tested in my lab, in Exchange 2010, the command Get-Mailbox could display the correct quota settings after I changed it to unlimited via the EMC.
    But in Exchange 2013, mine is Exchange 2013 RTM, the command Get-Mailbox didn't display the correct quota settings after I changed it to unlimited using the EAC.
    Currently, there is no related official document about this issue. Thanks for understanding.
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • #550 5.2.0 STOREDRV.Deliver: The Microsoft Exchange Information Store service reported an error.

    Hi, 
    I created a mailbox few days before, everythign was working fine and suddenly when some one tried to send email on that mailbox it bounced back with following error:
    There's a problem with the recipient's mailbox. Microsoft Exchange will not try to redeliver this message for you. Please try resending this message, or provide the following diagnostic text to your system administrator.
    Sent by Microsoft Exchange Server 2007 
    Diagnostic information for administrators:
    Generating server: Mail01.abc.com
    [email protected]
    #550 5.2.0 STOREDRV.Deliver: The Microsoft Exchange Information Store service reported an error. The following information should help identify the cause of this error: "MapiExceptionNotFound:16.18969:9A000000, 17.27161:00000000CC000000000000000600000000000000,
    255.23226:00000000, 255.27962:FE000000, 255.17082:0F010480, 0.26937:94000000, 4.21921:0F010480, 255.27962:FA000000, 255.1494:00000000, 255.26426:FE000000, 4.7588:0F010480, 4.6564:0F010480, 2.17597:00000000, 2.25805:00000000, 4.8936:0F010480, 4.14312:0F010480,
    4.2199:0F010480, 2.25805:00000000, 4.8936:0F010480, 2.22957:00000000, 2.19693:00000000, 2.17917:00000000, 2.27341:00000000, 4.8936:0F010480, 4.17097:0F010480, 4.8620:0F010480, 255.1750:0F010480, 0.26849:0F010480, 255.21817:0F010480, 0.26297:0F010480, 4.16585:0F010480,
    0.32441:0F010480, 4.1706:0F010480, 0.24761:0F010480, 4.20665:0F010480, 0.25785:EC030000, 4.29881:0F010480". ##
    Original message headers:
    Received: from Mailbox.abc.com ([fe80::892d:93d6:b1ac:b70a]) by mail01
     ([10.72.0.95]) with mapi; Fri, 11 Jan 2013 14:04:55 +0500
    Content-Type: application/ms-tnef; name="winmail.dat"
    Content-Transfer-Encoding: binary
    From: Anwar Amjad <[email protected]>
    To: All-HEC <[email protected]>
    Date: Fri, 11 Jan 2013 14:04:53 +0500
    Subject: FW: Suggestions & New Arrival in HEC Library
    Thread-Topic: Suggestions & New Arrival in HEC Library
    Thread-Index: Ac3vHgwR50OLs2BnQuOzo9jWg4e1gQAvJtUw
    Message-ID: <[email protected]>
    References: <[email protected]>
    In-Reply-To: <[email protected]>
    Accept-Language: en-US
    Content-Language: en-US
    X-MS-Has-Attach: yes
    X-MS-TNEF-Correlator: <[email protected]>
    MIME-Version: 1.0
    X-Auto-Response-Suppress: DR, OOF, AutoReply
    After this error, i treid to send email again and there is no error and email was delivered. What was the cause of this error?
    Hasan

    Hi,
    I tried to start seeding again but it is at same status. I will try again and hopefully it will get resolved.
    But, yesterday i ran in to the most complex issue i have ever seen with Exchange.
    There was a unexpected power cut at our datacentre due to which both the nodes went down.
    After that both the nodes came up. But the all 3 databases were dismounted.
    Therefore, i ran Eseutil /mh resulting dirty shutdown.
    I was able to repair 2 databases.
    But the 3rd one was not mounting with below error.
    Microsoft Exchange Error
    Failed to mount database 'Mailbox Database'.
    Mailbox Database
    Failed
    Error:
    Exchange is unable to mount the database that you specified. Specified database: XXXXX\First Storage Group\Mailbox Database; Error code: MapiExceptionJetErrorAttachedDatabaseMismatch: Unable to mount database. (hr=0x80004005, ec=-1216).
    I was able to mount database somehow. There are 7 User mailboxes (Tier 1) on this database.
    All emails sent to the users in this database are bouncing back with the below error.
    This storage groups holds the mailboxes of my Senior Managements. And their mailboxes are down for almost 20 Hrs. I am spinning my head since yesterday but not able to find any fix. Can you please guide me in this concern.
    Best Regards
    K2
    Kapil Kashyap

  • Exchange 2010 mailbox not able to access auto-mapped Exchange 2013 CU3 mailbox

    Hi,
    We are in co-existence with Exchange 2010 SP3 and Exchange 2013 CU3.
    Outlook Anywhere and Autodiscover pointed towards Exchange 2013 CAS servers.  Everything works fine irrespective where is mailbox is located Exchange 2010 or 2013.
    When I tried to access auto-mapped mailbox from Exchange 2010 as primary mailbox accessing auto-mapped Exchange 2013 mailbox "Cannot expand the folder. The set of folders cannot be opened. Microsoft Exchange is not available. Either there are network
    problems or the Exchange server is down for maintenance".
    Exchange 2013 OutlookAnywhere "Externalclientauthenticationmethod" is Basic and "Internalclientauthencitcationmethod" is NTLM.  Everything is setup as per the Tech-net recommendations.
    Checked both these articles but still it is not working:
    http://support.microsoft.com/kb/2839517
    http://support.microsoft.com/kb/2834139
    Please let me know if there are any other ideas.
    Raman

    Hi,
    I recommend you refer to the following articles to troubleshoot the issue:
    Troubleshooting Mailbox Auto-Mapping : Autodiscover
    Details about the shared mailbox that is to be accessed will be returned to the Outlook client by the autodiscover process. This is really handy to know if you are ever in the position where you need to troubleshoot why the auto-mapping feature isn’t working
    correctly
    Troubleshooting Mailbox Auto-Mapping : Permissions
    When you use either the Exchange Management Console or the Exchange Management Shell to grant a user with full access permission against another mailbox, permissions changes are made to allow this as you might expect. Certain Active Directory attributes
    are also updated to reflect both the Active Directory account of the mailbox being accessed as well as the Active Directory account of the accessing mailbox. Specifically, you can check the contents of the msExchDelegateListLink and msExchDelegateListBL Active
    Directory attributes to see these details and it is worth checking these if you have any suspicions that things aren’t working correctly.
    Hope this helps!
    Thanks.
    Niko Cheng
    TechNet Community Support

  • How to monitor particular individual Exchange 2010 mailbox

    Hi
    Is it possible to monitor a particular individual Exchange 2010 mailbox? If so please send me the script or steps to to accomplish this
    Donald D'souza (http://donald-scom.blogspot.com/)

    The Exchange 2010 MP has had some issues of late and is once again unavailable. Hopefully this should be rectified soon. Keep an eye on the Management Pack forum and someone should post there once it is back.
    I appreciate the Exchange team are looking for ways to get extra monitoring from SCOM and I'm certainly not saying you can't do mailbox monitoring with SCOM. I'm just saying be careful. I have seen one enterprise write a discovery to discover the
    mailboxes they wanted to monitor. The discovery captured data that changed every iteration that the discovery ran. They then wondered why SCOM stopped working, ignoring the fact that they had discovered thousands of objects whose properties changed every
    time discovery ran, causing huge numbers of state change events and massive database growth.
    If you are looking for in-depth exchange mailbox monitoring then SCOM is not the tool for it. Quest and Sirana do dedicated enterprise tools. If you take a look at the links and say that is what your team want then I'd suggest evaluating those
    products. Developing SCOM to deliver that would not be cost efficient.
    Hope you don't mind but I'll ask again - what specifically do you want to monitor? Mailbox Size? Number of emails sent \ received? size of message sent? destination? number of attachments? size of attachments? blocked messages? If you need deep detail
    along the lines of the following then you really need to evaluate the following:
    http://www.sirana.com/exchange/reporting
    If you end up writing scripts to do all the above then you will likely severely impact performance of either SCOM or your Exchange server or possibly both.
    Sadly (for budgeting) SCOM doesn't necessarily replace specialist tools - it just complements them. Likewise, if you want deep dive SQL then you'll still need Quest or Idera based tools. Probably fewer licenses and better targetted at servers with known
    issues.
    Cheers
    Graham
    Regards Graham New System Center 2012 Blog! -
    http://www.systemcentersolutions.co.uk
    View OpsMgr tips and tricks at
    http://systemcentersolutions.wordpress.com/

  • How to introduce exchange 2013 mailbox server in an existing Exchange 2010 Environment

    Hi All,
    we are planning to install exchange 2013 mailbox server in an Exchange 2010 environment. we have 3 MB servers, 1 CAS 1 HUB which is installed with Exchange 2010 SP3 Enterprise Edition. how to install new exchange server 2013  and i have to add the 2013
    servers in to existing DAG and migrate all mailboxes in to 2013 server. Please advise me from the scratch. also will it be create any impact in my existing setup.
    Thanks, Venkatesh. &quot;Hardwork Never Fails&quot;

    For a step by step follow the deployment assistant
    http://technet.microsoft.com/en-US/exdeploy2013/Checklist?state=2419-W-AAAAAAAAQAAAAAEAAAAAAAA%7e
    Twitter!: Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.

  • Mailbox Quota Wrong

    Hello,
    I keep getting a message saying that I've exceeded my mailbox quota. When Get Info on the IMAP mailbox, it reports:
    Currently Used 20.8 MB
    Capcity 15.0 MB
    Then it lists:
    Inbox: 10.3 MB
    Sent: 110 KB
    Personal Folder: 37.2 KB
    Junk: 0
    Trash: 0
    Just looking at the folder list I don't see the total anywhere near 20.8MB.
    When I actually add up the sizes of all messages in my Inbox, it totals around 146 KB (not MB).
    So I'm confused. Anyone have any clue what's going on?
    Thanks
    Tony.

    Hello Tony.
    You may try using another mail client, such as Thunderbird, and see what happens there.

  • Mailbox Quota Excceeded Script

    Hi
    Im looking for a script to obtain details of users who have exceeded there mailbox quota
    I did use a few although it only shows the current status(not exceeded, etc) but does not show users who have exceeded the quota
    Appreciate your help on this
    Thanks & Regards

    Is this in Exchange 2013 or 2010? I ask because in Exchange 2010 you can use "StorageLimitStatus" when you run Get-MailboxStatistics, but in Exchange 2013 the information store doesn't cache the limits.
    So for Exchange 2010, when the StorageLimitStatus is "IssueWarning" or "ProhibitSend" or "MailboxDisabled" they are over their limit.
    Get-Mailboxdatabase | Get-MailboxStatistics | Where {"ProhibitSend","IssueWarning","MailboxDisabled" -Contains $_.StorageLimitStatus} | Select-Object DisplayName, StorageLimitStatus, TotalItemSize | Export-CSV C:\OverQuota.csv
    For Exchange 2013, it is more complicated as you'll need to compare the TotalItemSize with the quota applied to that user. You also need to consider if the quota is applied from the database or if it's applied on the mailbox.
    For quota defined on mailbox:
    $MailboxQuota = get-mailbox -ResultSize unlimited | Where {$_.UseDatabaseQuotaDefaults -eq $false}
    $MailboxInfo = @()
    foreach ($Mailbox in $MailboxQuota) {
    $WorkingObject = New-Object PSObject -Property @{
    DisplayName = $Mailbox.DisplayName
    IssueWarningQuota = $Mailbox.IssueWarningQuota
    ProhibitSendQuota = $Mailbox.ProhibitSendQuota
    MailboxSize = (get-mailboxstatistics -identity $Mailbox.UserprincipalName).TotalItemSize
    $MailboxInfo += $WorkingObject
    $MailboxInfo | export-csv c:\MailboxQuotaInfo.csv
    For Quota defined on database:
    get-mailbox -ResultSize unlimited | Where {$_.UseDatabaseQuotaDefaults -eq $true} | get-mailboxstatistics | select displayname, databaseissuewarningquota, DatabaseProhibitSendQuota, TotalItemSize
    CRM Advisor

  • Deleting the old Exchange 2007 mailbox entry safely from ADSI Edit ?

    Hi,
    I'm having problem with the old Exchange maiilbox 2007 CCR cluster name still showing whenever I use the Powershell script:
    Get-MailboxServer | Select Name, AdminDisplayVersion, ServerRole, ExchangeVersion, IsValid, ExchangeLegacyServerRole, DistinguishedName
    Can anyone please assist me what to backup first before so that I can safely remove / delete the following highlighted entry from my domain controller:
    Is that the correct location where I can safely delete the old Exchange Server mailbox entry ? All of our Exchange Servers are 2010 SP2.
    There is also the computer object named MAILBOX when I do the search in
    Active Directory Users & Computers console.
    So can anyone please clarify if this is the best and safest way to do without causing any email downtime ?
    /* Server Support Specialist */

    Hey there,
    You need to ensure that you have the following backups in order to proceed with the decommissioning process:
    1. System State Backup of your Active directory
    2. Exchange Database Flat file Backup
    3. Run ExBPA Report and Export the Report for future reference.
    4. Go to Registry Editor and Export “My Computer” as Registry backup.
    Yes you are at the right location to safely delete the old Exchange Server mailbox entry .
    The best & cleanest way is to delete the whole server object. This wouldn't break your Exchange 2010 configuration. But make sure you don't delete the “Servers” folder itself.
    Feel free to revert back for further queries
    Thanks
    ~Phil

  • Semi-Automated granting send on behalf rights - Exchange 2013/Exchange Shell

    Hi all,
    We have just upgraded to Exchange 2013 and currently cant set mailbox permissions via the Exchange Admin Center, we currently have to do it via Exchange Shell.
    Thats all fine but i would like to automate it so my team can run a script and get prompted to enter the target mailbox and the user's id.
    Im new to ExchangeShell/PowerShell so be gentle with your feedback, but this is what I have come up with:
    $RemoteEx2013Session = New-PSSession -ConfigurationName Microsoft.Exchange ` -ConnectionUri  ` -Authentication #-Credential (Get-credential)
    Import-PSSession $RemoteEx2013Session -AllowClobber
    $mailboxname = Read-Host "Please enter name of mailbox"
    $UserID = Read-Host "Please enter name of user"
    $output = set-mailbox $mailboxname -GrantSendOnBehalfTo $UserID
    When I run it I get "Insufficient access rights to perform the operation", I get what that means but if I manually type the command it works i.e    set-mailbox john.smith -GrantSendOnBehalfTo Jane.Smith
    Questions are: Is this possible to semi-automate this via powershell, and am i totally of track with the above commands?
    Thanks in advanced 

    Hi,
    According to the error message, it seems there is no proper permission to run this script.
    Please make sure you have proper permission, I suggest run this script as Administrator for testing if you are using an additional account now.
    Also suggest creating a test user and grant proper permissions for testing.
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • Is it possible to monitor a particular Exchange 2010 mailbox via SCOM if 30 or more emails trigger in 30 minutes in the inbox and alert should be generated

    Is it possible to monitor a particular Exchange 2010 mailbox via SCOM if 30 or more emails trigger in 30 minutes in the inbox and alert should be generated for that.
    If this is not possible in SCOM. Is there another way we can do it via power shell or any thing.
    Gautam.75801

    Hi,
    We may need to create script based rule using PowerShell or VBScript.
    Please go through the below links for command get-mailboxstatistics:
    Exchange 2010 : http://community.spiceworks.com/topic/122241-scripting-to-count-all-of-the-messages-in-a-mailbox
    Regards, Yan Li

  • Open and cancelled Quote Report

    Hi,
    Can anyone give me the information  for getting open and cancelled Quote Report?

    I hope you are using reason for rejection for cancelling quotations. If that is the case, you can use transaction VA25 to view the list of quotations. Here you can filter on two columns status and reason for rejection to view the report as per your requirement.
    Regards,
    GSL.

  • Print Quote Report

    Hi All,
    I have a requirement to develop the custom print Quote Report. When i review the standard pring quote report ,I found a call like <?call-template:TermsTemplate?>.
    This statment itself is getting all the Terms and Conditions for that report. when i looked in the ASOPRTXSL.xsl, I see the below statement
    <xsl:template name="TermsTemplate">
    <xsl:call-template name="PrintContractTerms"/>
    </xsl:template>
    I am pretty new to XSL, dont know what's happening here. Please help me ASAP
    I have also posted this question in BI Publisher but did not get any respose . Please Help
    Thanks

    If you want to create a custom report using concurrent program then refer:
    http://apps2fusion.com/apps/apps/63-xml-publisher-concurrent-program-xmlp
    If you want to create a custom report using OAF page then refer:
    http://apps2fusion.com/at/51-ps/260-integrating-xml-publisher-and-oa-framework
    -Anand

Maybe you are looking for

  • Vertical allignment of columns in tabular format of report in obiee 10g

    Hi, I have a client requirement in which the colums are to be alligned vertically instead of being displayed horizontallty which is the default format in obiee. Can anyone help me in achieving this requirement . below goes the format of report we nee

  • Exporting a List to Excel to use for Excel Services WebPart (not working)

    Hey everyone, here's the scenario. I'm trying to export a list to excel and save it to a library. All the connections are saved. Now. I want that excel file to render as a web part. When I make a change on the list and try to refresh the data connect

  • Simple html report

    In the Application Builder: Navigate to the page that you previously used for the APEX_ITEM Tutorial. On this page add a new HTML region. In the wizard accept the default options, except set the name to "PL/SQL Output" and the column to 2, then click

  • Make a P in P fill screen, no fussing?

    I'm trying to put a slide in my iMovie, using P in P. I want the slide to fill the entire screen; it is sized for it. Yet, when I scale up to what I want and hit "Done" the image insists on going back to the small size. How to insert a slide and have

  • How to allow non-admin users to install software updates of Java, FLASH and Adobe Reader?

    Hi all, I have a company (+150 users) and I would like  to allow users to update Java, FLASH and Adobe Reader only. These software are already installed in the hosts, but there are updates of the program every week and it needs to be updated. How can