Get the App
SLTechnology News&Howtos  ›  Servers  › 

Powershell command to view the free space of the mail database

Shulou Source: shulou.com Published: 2022-06-02 23:17:48 09月22日 Update

Sometimes you need to see how much free the mailbox database is. For example, if your storage is almost full, it is impossible to expand the disk capacity. What you can do is to ask the user to download the email locally, and then make a quota and so on. And if you use O365, you can also move up. After a lot of trouble, you have to confirm the size of your email database. Just one Powershell command is fine. Remember to execute it in exchange powershell.

[PS] C:\ Windows\ system32 > Get-MailboxDatabase-status | Select-Object Server,Name,AvailableNewMailboxSpace

Server Name AvailableNewMailboxSpace

The display will be in the form of Human Reading, saying something that people can understand, that is, the display that humans can read, will not show you a large value plus a bytes.

Tags: Data database mail that is way command idle human size numerical value time is in for example users disks mailboxes quotas storage space Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi vpn MariaDB macOS Shulou Information