locked
Powershell command required to check the Mailbox size Unlimited users in Exchange 2010 RRS feed

  • Question

  • Team,

    What  is the powershell command to check the mailbox size unlimited users in Excahnge 2010.

    we are now doing audit and wanted to know if any users mailbox size is not set.

     

    Regards

    Srinivasa K

     


    Srinivasa K
    Sunday, December 18, 2011 11:24 AM

Answers

  • Use this

    
    Get-Mailbox -resultsize unlimited | where{($_.ProhibitSendQuota -eq "unlimited") -or ($_.ProhibitSendReceiveQuota -eq "unlimited") -or ($_.IssueWarningQuota -eq "unlimited")}
    
    

     


    Jasjit Singh Dhindsa | ITIL v3 | IASA Foundation Certified | MCITP: EMA 2010/2007 | MCTS: MES 2010/2007, OCS 2007 | MCSA: M+S | MCSE: M+S
    • Proposed as answer by Zi Feng Monday, December 19, 2011 4:40 AM
    • Marked as answer by Srinivasa K Monday, December 19, 2011 3:38 PM
    Sunday, December 18, 2011 12:43 PM
  • Get-Mailbox -resultsize unlimited | where{($_.ProhibitSendQuota -eq "unlimited") -or ($_.ProhibitSendReceiveQuota -eq "unlimited") -or ($_.IssueWarningQuota -eq "unlimited")} | ConvertTo-Html | Set-Content c:\test.htm
    

    command given by jasjit is appropriate i have appended html conversion to it...

    Sunday, December 18, 2011 12:48 PM
  • Hi

    Also you could just list the names

    Get-Mailbox -resultsize unlimited | where{($_.ProhibitSendQuota -eq "unlimited") -or ($_.ProhibitSendReceiveQuota -eq "unlimited") -or ($_.IssueWarningQuota -eq "unlimited")} | Select-Object Alias,Name,ServerName,Database

     

    Cheers

    Zi Feng

    • Marked as answer by Srinivasa K Monday, December 19, 2011 3:38 PM
    Monday, December 19, 2011 4:44 AM

All replies

  • try this 

    Get-Mailbox -ResultSize unlimited |Where{($_.UseDatabaseQuotaDefaults -eq $false)}


    Sunday, December 18, 2011 11:49 AM
  • Arun..thanks for the reply.

     

    The command will display  the quota limit for all the users, I am looking for the user list whose mailbox size is not set (Unlimited).

    the command which u have provided also very helpful, Just checking in case if you have any other powershell commands.

    It will be good if it can send the output in HTML format.

     

     

     

     

    Regards

    Srinivasa K


    Srinivasa K
    Sunday, December 18, 2011 12:42 PM
  • Use this

    
    Get-Mailbox -resultsize unlimited | where{($_.ProhibitSendQuota -eq "unlimited") -or ($_.ProhibitSendReceiveQuota -eq "unlimited") -or ($_.IssueWarningQuota -eq "unlimited")}
    
    

     


    Jasjit Singh Dhindsa | ITIL v3 | IASA Foundation Certified | MCITP: EMA 2010/2007 | MCTS: MES 2010/2007, OCS 2007 | MCSA: M+S | MCSE: M+S
    • Proposed as answer by Zi Feng Monday, December 19, 2011 4:40 AM
    • Marked as answer by Srinivasa K Monday, December 19, 2011 3:38 PM
    Sunday, December 18, 2011 12:43 PM
  • Get-Mailbox -resultsize unlimited | where{($_.ProhibitSendQuota -eq "unlimited") -or ($_.ProhibitSendReceiveQuota -eq "unlimited") -or ($_.IssueWarningQuota -eq "unlimited")} | ConvertTo-Html | Set-Content c:\test.htm
    

    command given by jasjit is appropriate i have appended html conversion to it...

    Sunday, December 18, 2011 12:48 PM
  • Hi

    Also you could just list the names

    Get-Mailbox -resultsize unlimited | where{($_.ProhibitSendQuota -eq "unlimited") -or ($_.ProhibitSendReceiveQuota -eq "unlimited") -or ($_.IssueWarningQuota -eq "unlimited")} | Select-Object Alias,Name,ServerName,Database

     

    Cheers

    Zi Feng

    • Marked as answer by Srinivasa K Monday, December 19, 2011 3:38 PM
    Monday, December 19, 2011 4:44 AM
  • Thanks Arun ,Jasjit and Zi for your valuable support.

     

    Regards

    Srinivasa K


    Srinivasa K
    Monday, December 19, 2011 3:37 PM