Exchange Server Log Path Değiştirme
Exchange Server üzerinde varsayılan dosya yolları (path) zamanla depolama alanı yönetimi, performans optimizasyonu veya kurumsal standartlara uyum sağlama amacıyla değiştirilmesi gerekebilir. Aşağıdaki PowerShell komutları, bu yolları güvenli bir şekilde değiştirmek için kullanılabilir. Bu işlem, sistemin sağlıklı çalışmasını sürdürebilmesi için dikkatlice planlanmalı ve uygulanmalıdır.
Aşağıdaki PowerShell komutlarını kullanarak Exchange Server üzerinde yolları (path) kolayca değiştirebilirsiniz. Kodları dikkatlice inceleyerek ihtiyaçlarınıza göre düzenlemenizi öneririm.
$MessageTrackingLogMaxAge = 180
$MessageTrackingLogMaxDirectorySize = "50GB"
$path = "G:"
$exchangeservername = $env:computername
Set-TransportService -Identity $exchangeservername `
-ConnectivityLogPath "$path\TransportRoles\Logs\Hub\Connectivity" `
-MessageTrackingLogPath "$path\TransportRoles\Logs\MessageTracking" `
-IrmLogPath "$path\Logging\IRMLogs" `
-ActiveUserStatisticsLogPath "$path\TransportRoles\Logs\Hub\ActiveUsersStats" `
-ServerStatisticsLogPath "$path\TransportRoles\Logs\Hub\ServerStats" `
-ReceiveProtocolLogPath "$path\TransportRoles\Logs\Hub\ProtocolLog\SmtpReceive" `
-RoutingTableLogPath "$path\TransportRoles\Logs\Hub\Routing" `
-SendProtocolLogPath "$path\TransportRoles\Logs\Hub\ProtocolLog\SmtpSend" `
-QueueLogPath "$path\TransportRoles\Logs\Hub\QueueViewer" `
-WlmLogPath "$path\TransportRoles\Logs\Hub\WLM" `
-PipelineTracingPath "$path\TransportRoles\Logs\Hub\PipelineTracing" `
-AgentLogPath "$path\TransportRoles\Logs\Hub\AgentLog" `
-MessageTrackingLogMaxDirectorySize $MessageTrackingLogMaxDirectorySize `
-MessageTrackingLogMaxAge $MessageTrackingLogMaxAge
Set-FrontendTransportService -Identity $exchangeservername `
-AgentLogPath "$path\TransportRoles\Logs\FrontEnd\AgentLog" `
-ConnectivityLogPath "$path\TransportRoles\Logs\FrontEnd\Connectivity" `
-ReceiveProtocolLogPath "$path\TransportRoles\Logs\FrontEnd\ProtocolLog\SmtpReceive" `
-SendProtocolLogPath "$path\TransportRoles\Logs\FrontEnd\ProtocolLog\SmtpSend"
Set-ImapSettings -LogFileLocation "$path\Logging\Imap4"
Set-MailboxServer -Identity $exchangeservername `
-CalendarRepairLogPath "$path\Logging\Calendar Repair Assistant" `
-MigrationLogFilePath "$path\Logging\Managed Folder Assistant"
Set-MailboxTransportService -Identity $exchangeservername `
-ConnectivityLogPath "$path\TransportRoles\Logs\Mailbox\Connectivity" `
-MailboxDeliveryAgentLogPath "$path\TransportRoles\Logs\Mailbox\AgentLog\Delivery" `
-MailboxSubmissionAgentLogPath "$path\TransportRoles\Logs\Mailbox\AgentLog\Submission" `
-ReceiveProtocolLogPath "$path\TransportRoles\Logs\Mailbox\ProtocolLog\SmtpReceive" `
-SendProtocolLogPath "$path\TransportRoles\Logs\Mailbox\ProtocolLog\SmtpSend" `
-PipelineTracingPath "$path\TransportRoles\Logs\Mailbox\PipelineTracing"
Set-PopSettings -LogFileLocation "$path\Logging\Pop3"
Import-Module WebAdministration
Set-ItemProperty 'IIS:\Sites\Default Web Site' -name logfile.directory "G:\LOG\IISLogs"
Set-ItemProperty 'IIS:\Sites\Exchange Back End' -name logfile.directory "G:\LOG\IISLogs"
Post Views: 133
Son Yazılar
Arşivler
- Eylül 2026
- Haziran 2026
- Mayıs 2026
- Nisan 2026
- Mart 2026
- Şubat 2026
- Aralık 2025
- Kasım 2025
- Ekim 2025
- Eylül 2025
- Ağustos 2025
- Temmuz 2025
- Haziran 2025
- Mayıs 2025
- Nisan 2025
- Mart 2025
- Şubat 2025
- Ocak 2025
- Aralık 2024
- Kasım 2024
- Ekim 2024
- Eylül 2024
- Ağustos 2024
- Temmuz 2024
- Haziran 2024
- Mayıs 2024
- Nisan 2024
Kategoriler
Son yorumlar
- RDS “We can’t sign into your account”, Temp Profil Sorunu ve Çözümü için Mehmet Sait YILMAZ
- RDS “We can’t sign into your account”, Temp Profil Sorunu ve Çözümü için Can Karapınar