all scripts

This commit is contained in:
Alexpolo1
2023-03-09 09:06:25 +01:00
parent 49b677d254
commit bf7c3012b7
115 changed files with 68517 additions and 0 deletions

4
Getlogsfromappserver.ps1 Normal file
View File

@@ -0,0 +1,4 @@
#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