How to obtain ULS Trace log path using PowerShell

ULS trace log path present in "configure diagnostic logging" (central administrator). I want to obtain this path using PowerShell

Please reply.... 

 
July 29th, 2015 8:19pm

Run:

Get-SPDiagnosticConfig

You can set the value via:

Set-SPDiagnosticConfig -LogLocation C:\uls
The location must exist on all SharePoint servers in the farm.

Free Windows Admin Tool Kit Click here and download it now
July 29th, 2015 9:10pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics