Skip Ribbon Commands
Skip to main content
Manage PermissionsManage Permissions

Title

Create-Event

Purpose

This script will create an event in an existing event log or a new event log.

This can be useful to keep track of what happens in your script either locally or using monitoring tools like SCOM. You can also use it to test if custom event monitoring you've configured is working as expected.

Or run a task in response to a given event as explained here: http://technet.microsoft.com/en-us/library/cc748900.aspx

Author(s)

Bjorn Houben

Script type

Powershell

Status

Production

Script Components

Eventlog; Notification/messaging; System Center Operations Manager 2012

Assumptions

N/A

Known issues

N/A

Limitations

N/A

Notes

N/A

Ideas for improvement

 

Version history

​February 23 : Created script

Copyright / usage

http://creativecommons.org/licenses/by-sa/3.0/

Attachments

Create-event.ps1.txt    
Version: 4.0
Created at 2/23/2013 11:24 PM by Bjorn Houben
Last modified at 2/23/2013 11:30 PM by Bjorn Houben