adding work scripts
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
$StartTime = (Get-Date).AddMinutes(-<minutes>)
|
||||
$ID=<event_id>
|
||||
Get-WinEvent -FilterHashtable @{
|
||||
LogName='Application'
|
||||
ProviderName='Qlik Enterprise Manager'
|
||||
Id=$ID
|
||||
StartTime=$StartTime
|
||||
} | fl * | Out-File -FilePath events.log -Append
|
||||
Reference in New Issue
Block a user