K
kirchner
Guest
Hi James, I'd go for PowerShell using Get-EventLog for the event log or Select-String for the file. I think the file thing is easier in this case. This piece of script will show you the last one of 5583/5584 events: Select-String -Pattern "\((5583)|(5584)\)" -Path .\test.lg | Select-Object -Last 1 I just TABbed my way around but you don't need to fully qualify each cmdlet or parameter, this would work the same: sls "\((5583)|(5584)\)" .\teste.lg | select -l 1
Continue reading...
Continue reading...