1 2 3 Previous Next 32 Replies Latest reply on Oct 4, 2013 5:16 AM by Abin Mammala

    Exchange get mail box size.

    Abin Mammala

      Hello,

       

      I have requirement to get the mailbox size and set the mail box size. I need to execute the following commands:

       

      Set-Mailbox -Identity UUSSEERR -IssueWarningQuota 500MB -ProhibitSendQuota 600MB -ProhibitSendReceiveQuota 700MB -UseDatabaseQuotaDefaults $false

      Set-Mailbox -Identity AAJOSH -UseDatabaseQuotaDefaults $true

       

       

       

      Get-Mailbox -Identity AAJOSH | select IssueWarningQuota,ProhibitSendQuota,ProhibitSendReceiveQuota

       

      Please let me know the best way yo do it (NSH script) as the UUSSEERR name will be a variable.

       

      Thanks

      Abin

        1 2 3 Previous Next