- Powershell yönetici olarak çalıştır.
- (Bağlantı modülü için önce bu kodu yapıştır.) Install-Module -Name ExchangeOnlineManagement -Force -AllowClobber
- Set-ExecutionPolicy RemoteSigned -Force
- Connect-ExchangeOnline (admin şifresi ile giriş yap)
- Get-Mailbox -ResultSize Unlimited -RecipientTypeDetails UserMailbox | Set-Mailbox -IssueWarningQuota 45GB -UseDatabaseQuotaDefaults $false
- (Kuralın uygulandığını kontrol etmek için) Get-Mailbox -ResultSize Unlimited -RecipientTypeDetails UserMailbox | Select-Object DisplayName, UserPrincipalName, IssueWarningQuota
- Disconnect-ExchangeOnline
Not: Tek bir kullanıcıda yapmak için 5. adım yerine aşağıdaki komut yazılır yazılan kodlar 45GB uyarısıdır değiştirilebilir.
Set-Mailbox -Identity “deneme@deneme.com.tr” -IssueWarningQuota 45GB -UseDatabaseQuotaDefaults $false
