How to I Add event logs to a PowerShell transcript?

By jcwfbi ·
I wrote a script that tests for certain connectivity against all CAS servers in an array. I added the start-transcript cmdlet to my script to record the session of course. So I noticed that in my script the get-eventlog cmdlet is not mentioned in my transcript nor is the output path to the data. What I want to do is basically have the info from the event log appended to the transcript so that after the script runs the details of any service restarts on any of the servers can be found in the transcript. If that makes sense. Any Thoughts...? Cheers.

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Share your knowledge

Related Discussions

Related Forums