[9] Exchange Server 2019 – Limit wielkości skrzynki pocztowej (Quota)
15 stycznia 2025Ustaw limit wielkości (quota) dla skrzynek pocztowych użytkowników.
Uruchom PowerShell i ustaw limit na wielkość/rozmiar skrzynek pocztowych użytkowników Exchange Server 2019.
Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows # uruchom [Exchange Management Shell] PS C:\Windows\system32> LaunchEMS Welcome to the Exchange Management Shell! Full list of cmdlets: Get-Command Only Exchange cmdlets: Get-ExCommand Cmdlets that match a specific string: Help *<string>* Get general help: Help Get help for a cmdlet: Help <cmdlet name> or <cmdlet name> -? Exchange team blog: Get-ExBlog Show full output for a command: <command> | Format-List Show quick reference guide: QuickRef VERBOSE: Connecting to vwsr02.zicher.lab. VERBOSE: Connected to vwsr02.zicher.lab. # pokaż aktualne ustawienia limitów skrzynek pocztowych [PS] C:\Windows\system32>Get-Mailbox | Select Name,IssueWarningQuota,ProhibitSendQuota,ProhibitSendReceiveQuota,UseDatabaseQuotaDefaults Name : Debian Linux IssueWarningQuota : Unlimited ProhibitSendQuota : Unlimited ProhibitSendReceiveQuota : Unlimited UseDatabaseQuotaDefaults : True Name : DiscoverySearchMailbox {D919BA05-46A6-415f-80AD-7E09334BB852} IssueWarningQuota : Unlimited ProhibitSendQuota : 50 GB (53,687,091,200 bytes) ProhibitSendReceiveQuota : 50 GB (53,687,091,200 bytes) UseDatabaseQuotaDefaults : False Name : Exchange Admin IssueWarningQuota : Unlimited ProhibitSendQuota : Unlimited ProhibitSendReceiveQuota : Unlimited UseDatabaseQuotaDefaults : True . . . . . . # ustaw limit dla skrzynki pocztowej użytkownika [Debian Linux]. # IssueWarningQuota: wyświetla ostrzeżenie jeśli skrzynka osiągnie określony rozmiar # ProhibitSendQuota: zabrania wysyłania jeśli skrzynka osiągnie określony rozmiar # ProhibitSendReceiveQuota: zabrania wysyłania i odbierania jeśli skrzynka osiągnie określony rozmiar # UseDatabaseQuotaDefaults: należy ustawić na [False], aby uzyskać ustawienia niestandardowe [PS] C:\Windows\system32>Set-Mailbox -Identity "Debian Linux" -IssueWarningQuota 8gb -ProhibitSendQuota 9gb -ProhibitSendReceiveQuota 10gb -UseDatabaseQuotaDefaults $False [PS] C:\Windows\system32>Get-Mailbox "Debian Linux" | Select Name,IssueWarningQuota,ProhibitSendQuota,ProhibitSendReceiveQuota,UseDatabaseQuotaDefaults Name : Debian Linux IssueWarningQuota : 8 GB (8,589,934,592 bytes) ProhibitSendQuota : 9 GB (9,663,676,416 bytes) ProhibitSendReceiveQuota : 10 GB (10,737,418,240 bytes) UseDatabaseQuotaDefaults : False
Aby wykonać tą samą czynność z wykorzystaniem GUI – a właściwie za pomocą aplikacji Web, jaką jest Centrum Administracyjne wykonaj poniższe czynności.
Zaloguj się do Centrum administracyjnego Exchange Server i przejdź do [odbiorcy/recipients] w lewym okienku. Następnie wybierz użytkownika, dla którego chcesz ustawić limit, i kliknij ikonę [Edytuj/Edit (ikona w kształcie ołówka/długopisu].
Przejdź do [użycie skrzynki pocztowej/mailbox usage] w lewym panelu.
Kliknij [Więcej opcji/More options] w dolnej części prawego panelu.
Zaznacz pole [Dostosuj ustawienia przydziału/Customize the quota settings…] i ustaw rozmiar dla każdego elementu.
Limity dla skrzynki pocztowej użytkownika zostały ustawione.