hvostat: Jeeslaya (Default)
[personal profile] hvostat
Нет ничего проще:

1) Создаём новый EventLog и указываем, откуда будем писать:
New-EventLog –LogName Application –Source “My Script”

2) Записываем событие, тип, код события и текст в записи журнала:
Write-EventLog –LogName Application –Source “My Script” –EntryType Information –EventID 1 –Message “This is a test message.”

__
From:
Anonymous( )Anonymous This account has disabled anonymous posting.
OpenID( )OpenID You can comment on this post while signed in with an account from many other sites, once you have confirmed your email address. Sign in using OpenID.
User
Account name:
Password:
If you don't have an account you can create one now.
Subject:
HTML doesn't work in the subject.

Message:

 
Notice: This account is set to log the IP addresses of everyone who comments.
Links will be displayed as unclickable URLs to help prevent spam.

Profile

hvostat: Jeeslaya (Default)
hvostat

June 2017

S M T W T F S
    123
45678910
11121314151617
181920212223 24
252627282930 

Style Credit

Expand Cut Tags

No cut tags
Page generated 18 October 2017 07:38
Powered by Dreamwidth Studios