Using New-EventLog to create logs under Applications and Services Logs

windows-event-logwindows-server-2008

I am trying to get the new log to appear as a node under the Applications and Services Logs node in the event viewer, and I just learned here that the Powershell cmdlet New-EventLog will create a new event log.

I ran the cmdlet and it ran with no errors, so seemingly it worked. However, I am not seeing the new event log even after a right-click/refresh of the Applications and Services Logs folder.

Is there another step to make this appear?

My goal is for our custom applications to be able to write to application specific event logs located under Applications and Services Logs for easier monitoring.

Best Answer

Your answer lies here, in the notes near the bottom of the page.