4 lines
256 B
PowerShell
4 lines
256 B
PowerShell
#get Logs from APPserv with text string match
|
|
|
|
$x= 1..4| foreach {"rejk-p-app00$_"} |foreach {get-item \\$_\D-drive\ifsbosystem\log\*.log*} | where { $_.LastWriteTime -gt (Get-Date).AddDays(-1) } | Select-String -Pattern "10:52.*error"
|
|
$x |out-gridview |