nerdexam
Microsoft

70-649 · Question #51

Your network contains a server that runs Windows Server 2008 R2. You plan to create a custom script. You need to ensure that each time the script runs, an entry is added to the Application event log.

The correct answer is A. Eventcreate. You can create custom events in an event log by using the Eventcreate utility. This can be useful as a diagnostic tool in scripts when you record an error or event directly into the logs without using VBScript or another language to log the event.

Configuring Server Management and Maintenance

Question

Your network contains a server that runs Windows Server 2008 R2. You plan to create a custom script. You need to ensure that each time the script runs, an entry is added to the Application event log. Which tool should you use?

Options

  • AEventcreate
  • BEventvwr
  • CWecutil
  • DWevtutil

How the community answered

(55 responses)
  • A
    82% (45)
  • B
    11% (6)
  • C
    4% (2)
  • D
    4% (2)

Explanation

You can create custom events in an event log by using the Eventcreate utility. This can be useful as a diagnostic tool in scripts when you record an error or event directly into the logs without using VBScript or another language to log the event.

Topics

#event log#eventcreate#Application log#scripting

Community Discussion

No community discussion yet for this question.

Full 70-649 Practice