Blog Arksoft
  • Arksoft Bilisim
  • Scripts
    • SCCM (ConfigMgr)
    • Hyper-V
    • WSUS
    • Exchange Scripts
      • Exchange Virtual Directory Config
      • Virtual Directory Script
      • LogPath Config
  • NİSAN 2025
    • Microsoft’un Mayıs 2025 Güncellemeleri: Sistem Yöneticileri İçin Kapsamlı Özet
    • Exchange Server 2019 CU15 Apr25HU
    • Nisan 2025:Microsoft Güvenlik Güncellemeleri
    • Power BI Gateway ile On-Prem Verilerin Gücünü Keşfedin!
    • IT Personelleri Neden Adli Bilişim Farkındalık Eğitimi Almalıdır?
    • ''SCCM 2503'' Sürüm Yükseltme Rehberi
  • Mart 2025
    • SCCM Üzerinden Kritere Göre Uygulama ve Deployment’ları Otomatik Silmek
    • Mart 2025: Microsoft Güvenlik Güncellemeleri
  • ŞUBAT 2025
    • SPN Nedir, Kerberos Nasıl Çalışır ve Duplicate SPN Neden Sorun Yaratır?
    • Şubat 2025: Microsoft'un Güvenlik Güncellemeleriyle Sistemlerinizi Güçlendirin!
    • Exchange Server CU15 Güncellemesi
    • log_reuse_wait_desc Nedir ve Ne Anlatır?
  • OCAK 2025
    • Azure SQL Nedir? Temel Bilgiler ve Avantajlar
    • Live Migration için Ağ Kartı Seçerken Dikkat Edilmesi Gerekenler
    • Protected Attribute Nedir? Nasıl Oluşturulur?
    • Ocak 2025 Microsoft Güvenlik Güncellemeleri: Sistemlerinizi Güvende Tutun!
    • CLIUSR Hesabı Neden Önemlidir? CLIUSR sertifikası nedir, neden süresi doldu uyarısı alıyorum?
  • ARALIK 2024
    • TLS 1.2 Öncesi Protokollerin Güvenlik Açıkları ve TLS 1.2/1.3 Önemi
  • Kasım 2023
    • Microsoft Exchange Server Kasım Ayı Güvenlik Güncellemesi
  • Temmuz 2023
    • Microsoft Office Zero-Day Zafiyeti CVE-2023-36884
  • Mayis 2023
    • Hashing ve Salting Kavramları Nedir? Azure AD Parola Güvenliği Nasıl Sağlanır?
  • Nisan 2023
    • DDOS Saldırıları Nedir ve Korunma Yolları Nelerdir?
    • Fidye Yazılımları Nedir ve Korunma Yöntemleri Nelerdir?
    • Ransomwares And Defence Strategies
    • PowerShell Modülleri: Temel Kavramlar ve Kullanım Örnekleri
    • PowerShell Fonksiyonları: Temel Kavramlar ve Kullanım Örnekleri
    • PowerShell Cmdlet'ler: Temel Kavramlar ve Kullanım Örnekleri
    • PowerShell Değişkenleri: Temel Kavramlar ve Kullanım Örnekleri
    • PowerShell Nedir?
    • Oltalama E-Postalarından Korunma
    • CVE-2023-2033
    • Cloud Computing and Its Advantages
    • Bulut Bilişim Nedir ve Bulut Bilişimin Avantajları Nelerdir?
    • Bilgi ve İletişim Güvenliği Rehberi Nedir ve Rehbere Uyumlu Olmak Neden Önemlidir?
  • Mart 2023
    • Sık Kullanılan Portlar ve Üzerinde Çalışan Protokoller
    • Siber Güvenlik ve İnternet Dünyasında Güvende Kalmanın Yolları
    • Outlook Kullanıcılarına Uyarı: CVE-2023-23397 Güvenlik Açığına Karşı Önlem Alın
  • Şubat 2023
    • Üçüncü Parti Uygulamaların Güncellenmesinin Önemi
  • Aralık 2022
    • Siber Tehdit
    • FRS to DFSR Migration
  • Kasım 2022
    • Domain Controller 2022 Kasım Ayı Bug'ı
  • Mart 2022
    • OWA ve ECP erişim sorunu: Microsoft Exchange Server Auth Certificate is expired
    • MIM 2016 SSPR Türkçe Karakter Problemi
  • Haziran 2021
    • KMS (Key Management Service)
  • Ağustos 2020
    • Microsoft Teams Konuk (Guest) Erişimi ve Dış (External) Erişim- Sizin için hangisi uygun?1
    • SCCM 2006 Güncellemesi
    • Skype For Business 2019 Kurulumu- Hata Kodu 1603 (Server.msi(Feature_Server, Feature_HealthyAgent))
    • Skype for Business 2019 “Centralized Logging” Servisinin Başlatılamaması Problemi ve Çözümü
  • Temmuz 2020
    • Clean Inactive Agents from Operations Manager
  • Haziran 2020
    • Microsoft Teams Katılımcı Raporu İndirme
    • Microsoft Teams Toplantı ve Grup Sohbet Sınırı 300'e çıkarıldı
  • Mayıs 2020
    • MIM 2016 Service and Portal Kurulumundaki Bug
    • Telegram ve Powershell ile Sistem İzleme-Part 1
  • Ekim 2019
    • Windows Server 2019 Active Directory Domain Services Kurulumu
  • Nisan 2019
    • Huawei FusionCompute Kurulumu
  • Mart 2019
    • Password Reveal Düğmesi
  • Ocak 2019
    • ReportServer Veri Tabanı içerisinden RDL Dosyalarının Çıkartılması
  • Temmuz 2018
    • Active Directory Certificate Services - SHA1’ den SHA2’ ye Yükseltme
    • Local Administrator Password Solution
Powered by GitBook
On this page
  1. Scripts
  2. Exchange Scripts

LogPath Config

. 'C:\Program Files\Microsoft\Exchange Server\V15\bin\RemoteExchange.ps1'
Connect-ExchangeServer -auto -ClientApplication:ManagementShell 
 
$exchangeservername = $env:computername 
 
Set-TransportService -Identity $exchangeservername -ConnectivityLogPath "L:\TransportRoles\Logs\Hub\Connectivity" -MessageTrackingLogPath "L:\TransportRoles\Logs\MessageTracking" -IrmLogPath "L:\Logging\IRMLogs" -ActiveUserStatisticsLogPath "L:\TransportRoles\Logs\Hub\ActiveUsersStats" -ServerStatisticsLogPath "L:\TransportRoles\Logs\Hub\ServerStats" -ReceiveProtocolLogPath "L:\TransportRoles\Logs\Hub\ProtocolLog\SmtpReceive" -RoutingTableLogPath "L:\TransportRoles\Logs\Hub\Routing" -SendProtocolLogPath "L:\TransportRoles\Logs\Hub\ProtocolLog\SmtpSend" -QueueLogPath "L:\TransportRoles\Logs\Hub\QueueViewer" -WlmLogPath "L:\TransportRoles\Logs\Hub\WLM" -PipelineTracingPath "L:\TransportRoles\Logs\Hub\PipelineTracing" -AgentLogPath "L:\TransportRoles\Logs\Hub\AgentLog"
 
# move the path for the PERFMON logs from the C: drive to the E: drive 
 
logman -stop ExchangeDiagnosticsDailyPerformanceLog 
 
logman -update ExchangeDiagnosticsDailyPerformanceLog -o "L:\Logging\Diagnostics\DailyPerformanceLogs\ExchangeDiagnosticsDailyPerformanceLog"
 
logman -start ExchangeDiagnosticsDailyPerformanceLog 
 
logman -stop ExchangeDiagnosticsPerformanceLog 
 
logman -update ExchangeDiagnosticsPerformanceLog -o "L:\Logging\Diagnostics\PerformanceLogsToBeProcessed\ExchangeDiagnosticsPerformanceLog"
 
logman -start ExchangeDiagnosticsPerformanceLog 
 
# Get the details on the EdgeSyncServiceConfig and store them in a variable for use in setting the path
 
$EdgeSyncServiceConfigVAR=Get-EdgeSyncServiceConfig 
 
# Move the Log Path using the variable we got 
 
# Move the standard log files for the FrontEndTransportService to the same path on the E: drive that they were on C:
 
Set-FrontendTransportService  -Identity $exchangeservername -AgentLogPath "L:\TransportRoles\Logs\FrontEnd\AgentLog" `
-ConnectivityLogPath "L:\TransportRoles\Logs\FrontEnd\Connectivity" `
-ReceiveProtocolLogPath "L:\TransportRoles\Logs\FrontEnd\ProtocolLog\SmtpReceive" `
-SendProtocolLogPath "L:\TransportRoles\Logs\FrontEnd\ProtocolLog\SmtpSend"
 
# MOve the log path for the IMAP server 
 
Set-ImapSettings -LogFileLocation "L:\Logging\Imap4"
 
# Move the logs for the MailBoxServer 
 
Set-MailboxServer -Identity $exchangeservername `
-CalendarRepairLogPath "L:\Logging\Calendar Repair Assistant" `
-MigrationLogFilePath  "L:\Logging\Managed Folder Assistant"
 
# Move the standard log files for the MailboxTransportService to the same path on the E: drive that they were on C:
 
Set-MailboxTransportService -Identity $exchangeservername `
-ConnectivityLogPath "L:\TransportRoles\Logs\Mailbox\Connectivity" `
-MailboxDeliveryAgentLogPath "L:\TransportRoles\Logs\Mailbox\AgentLog\Delivery" `
-MailboxSubmissionAgentLogPath "L:\TransportRoles\Logs\Mailbox\AgentLog\Submission" `
-ReceiveProtocolLogPath "L:\TransportRoles\Logs\Mailbox\ProtocolLog\SmtpReceive" `
-SendProtocolLogPath "L:\TransportRoles\Logs\Mailbox\ProtocolLog\SmtpSend" `
-PipelineTracingPath "L:\TransportRoles\Logs\Mailbox\PipelineTracing"
 
# MOve the log path for the POP3 server 
 
Set-PopSettings -LogFileLocation "L:\Logging\Pop3"  
PreviousVirtual Directory ScriptNextMicrosoft’un Mayıs 2025 Güncellemeleri: Sistem Yöneticileri İçin Kapsamlı Özet

Last updated 27 days ago