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\

Comments 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 [...]

  2. SharePoint 2010/IIS Log Files – How to move them….. - Useful to me, anyway….. - Useful Stuff….IT Odds n Sods said,

    Wrote on October 8, 2010 @ 7:05 pm

Comment RSS · TrackBack URI

Leave a Comment

Name: (Required)

E-mail: (Required)

Website:

Comment:

Comment moderation is enabled. Your comment may take some time to appear.