$rawUI = $Host.UI.RawUI $oldSize = $rawUI.BufferSize $typeName = $oldSize.GetType( ).FullName $newSize = New-Object $typeName (500, $oldSize.Height) $rawUI.BufferSize = $newSize get-eventlog -logname someacmecompanyname | where-object { $_.source -like '*someeventlogsourcename*' -and $_.EntryType -in ('Error', 'Warning', 'Critical') } | out-gridview
Sunday, 12 December 2021
Displaying errors in Event Log with Out-GridView in Powershell
A user friendly way to view errors in Event log source from Powershell.
Subscribe to:
Post Comments (Atom)
Awesome..You have clearly explained …Its very useful for me to know about new things..Keep on blogging..
ReplyDeleteibm full form in india |
ssb ka full form |
what is the full form of dp |
full form of brics |
gnm nursing full form |
full form of bce |
full form of php |
bhim full form |
nota full form in india |
apec full form