Change the SharePoint ULS Log File Path From a Script
PowerShell script that will move the SharePoint log files and set the retention of the log files. To run this script you will need to set the PowerShell execution policy using the following PowerShell command: set-executionpolicy Unrestricted Copy the following code and paste it into a PowerShell script file like SetSPLog.ps1. To call this from…