Wondering mind

The thoughts of a Microsoft Premier Field Engineer on anything and everything SharePoint.

Browse by Tags

Related Posts
  • Blog Post: Library - Function New-LogFile

    So working with a customer on a bunch of scripts to manipulate SharePoint and we needed a standard method of logging what we were doing in our scripts. So I decided to write a few functions that would make our life easier and would create uniformity in how things are logged. So the first function...
  • Blog Post: Library - Function Add-Logfile

    So continuing along with file manipulation I created a function that will write to our log file as well as the Application event log so that we could record everything we want and if necessary elevate the importance of a message by recording it in the event log. So first thing is what parameters...