Exchange 2019’da en çok kullanılan PowerShell komutları
Exchange 2019’da en çok kullanılan PowerShell komutları arasında aşağıdaki komutlar yer alır:
Mailbox İşlemleri
- Mailbox Bilgilerini Almak:
powershell
Get-Mailbox
- Yeni Bir Mailbox Oluşturmak:
powershell
New-Mailbox -UserPrincipalName "[email protected]" -Alias "alias" -Database "DB01" -Name "John Doe"
- Mailbox Ayarlarını Değiştirmek:
powershell
Set-Mailbox -Identity "[email protected]" -IssueWarningQuota 20GB -ProhibitSendQuota 24GB -ProhibitSendReceiveQuota 25GB
- Mailbox Silmek:
powershell
Remove-Mailbox -Identity "[email protected]"
Distribution Group İşlemleri
- Yeni Bir Dağıtım Grubu Oluşturmak:
powershell
New-DistributionGroup -Name "GroupName" -SamAccountName "samaccount" -Alias "alias" -Type "Distribution"
- Dağıtım Grubuna Üye Ekleme:
powershell
Add-DistributionGroupMember -Identity "GroupName" -Member "[email protected]"
- Dağıtım Grubunu Silmek:
powershell
Remove-DistributionGroup -Identity "GroupName"
Transport Rule İşlemleri
- Yeni Bir Transport Kuralı Oluşturmak:
powershell
New-TransportRule -Name "RuleName" -SubjectContainsWords "Confidential" -RedirectTo "[email protected]"
- Transport Kurallarını Listelemek:
powershell
Get-TransportRule
Veritabanı İşlemleri
- Veritabanı Bilgilerini Almak:
powershell
Get-MailboxDatabase
- Veritabanı Mont Etme:
powershell
Mount-Database -Identity "DatabaseName"
- Veritabanı Demont Etme:
powershell
Dismount-Database -Identity "DatabaseName"
——————————————————————————————————————————————————–
Exchange 2019 için bazı ileri seviye PowerShell komutlarını aşağıda bulabilirsiniz:
Mailbox Ayarları ve Yönetimi
- Mailbox Hareketlerini İzleme:
powershell
Get-MailboxStatistics -Identity "[email protected]"
- Posta Kutusunu Yeniden Adlandırma:
powershell
Set-Mailbox -Identity "[email protected]" -DisplayName "New Display Name"
Veritabanı ve Performans Yönetimi
- Veritabanı Sağlık Durumunu Kontrol Etme:
powershell
Test-MailboxDatabase -Identity "DatabaseName"
- Veritabanı Kopyalarını Kontrol Etme:
powershell
Get-MailboxDatabaseCopyStatus -Identity "DatabaseName"
İleti Akışı ve Taşıma Kuralları
- Mevcut Taşıma Kurallarını Düzenleme:
powershell
Set-TransportRule -Identity "RuleName" -FromScope NotInOrganization -SentToScope InOrganization
- Taşıma Kuralı Günlüklerini Almak:
powershell
Get-TransportRuleAction -Identity "RuleName"
Uyumluluk ve Denetim
- İleti İzleme Günlüklerini Almak:
powershell
Get-MessageTrackingLog -Sender "[email protected]" -Start "12/01/2024" -End "12/31/2024"
- Denetim Günlüğü Arşivi:
powershell
New-MailboxAuditLogSearch -Mailboxes "[email protected]" -StartDate "12/01/2024" -EndDate "12/31/2024" -LogLevel Owner
Özel Komutlar ve Senaryolar
- SMTP Akışını Kontrol Etme:
powershell
Get-Queue | Get-Message
- Veritabanı Yedekleme Durumunu Kontrol Etme:
powershell
Get-MailboxDatabase | Get-MailboxDatabaseCopyStatus | Where {$_.Status -eq "Failed"}
Bu komutlar, Exchange 2019’da ileri seviye yönetim ve izleme işlemlerini
Yorum gönder