Author Posts

February 4, 2016 at 5:28 pm

How do I run Write-EventLog without knowing the -source

from Help file:
"To write an event to an event log, the event log must exist on the computer and the source must be registered for the event log."

Write-EventLog : The source name "JEFF_PS_School" does not exist on computer "localhost".

February 4, 2016 at 5:31 pm

You either need to use an existing source that you see in the log already, or register a new source, which is a bit more complex.

February 4, 2016 at 5:41 pm

Yes I intuitively used secCLi earlier but still got an error. Spell checked it and it worked.. Thanks Don