Home Forums Programming Powershell collecting a count of errorlogs using posh RE: collecting a count of errorlogs using posh

  • I think I may have answered my own question.

    It appears that the ReadErrorLog function is returning it's own error, rather than a collection of errors from the server log, which is where my confusion lay. As it is a single error, there is no collection / count for it. This happens when it connects okay to the server to return an smo object, but the function call returns an authentication error.