Skip to main content

I have some scripts where I'd like to separate their log output from the standard Sitecore Powershell log (SPE.log). 

Is there a parameter which I can use on Write-Log to output to a named log file?

I have some scripts where I'd like to separate their log output from the standard Sitecore Powershell log (SPE.log). Is there a parameter I can use on Write-Log to output to a named log file?

I have some scripts where I'd like to separate their log output from the standard Sitecore Powershell log (SPE.log). 

Is there a parameter which I can use on Write-Log to output to a named log file?

Source Link
James Walford
  • 1.1k
  • 1
  • 9
  • 24

How can I specify a specific log file to write to from a Sitecore Powershell script?

I have some scripts where I'd like to separate their log output from the standard Sitecore Powershell log (SPE.log). Is there a parameter I can use on Write-Log to output to a named log file?