2016-08-05 44 views

回答

0

有一個Write-EventLogGet-Date cmdlet的...

Write-EventLog -logname Application -source MyApp -eventID 3001 -entrytype Information -message (Get-Date).ToString() -category 1