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”.