PowerShell To Change SharePoint Diagnostic Log File Location

The following PowerShell cmdlet will get all the diagnostic configuration values

Get-SPDiagnosticConfig

clip_image001

If you want to change the location of your diagnostic configuration log use the following PowerShell cmdlet

Set-SPDiagnosticConfig -LogLocation D:\SharePointLogs\

1 Comment so far »

  1. SharePoint Kaffeetasse 159 - Michael Greth [SharePoint MVP] - SharePointCommunity said,

    Wrote on February 6, 2010 @ 1:53 am

    [...] PowerShell To Change SharePoint Diagnostic Log File Location [...]

Comment RSS · TrackBack URI

Leave a Comment

Name: (Required)

E-mail: (Required)

Website:

Comment: