Jump to content
Pulseway 9.14 🔥

Featured Replies

Posted

Hello,

 

i need a Powershell Script which Loops in a Log File ~last 20 Lines and checks for a Error Code, if the Error Code is found it should restart a service

Can you attach the error log and what "error code" you need it to look for?  Also what service does it need to restart? 

Create an account or sign in to comment