Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $logs = Get-WinEvent -FilterHashtable @{LogName="Application"; StartTime=(get-date).AddHours(-2)} | ? {$_.ProviderName -eq "wsgate"}
- $logs | % {$_.Message = $_.Properties[0].Value}
- $logs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement