Hi everyone, Good day!
I do wanted to know your suggestions about my use case below. I’m planning to create a PowerShell script that gets the latest status of a certain service inside the server.
I’m planning to use the following steps:
- for loop in retrieving the service status
- generate a csv file or text file to display the status
- Create a task in the task scheduler
I don’t have issues in creating the script, however, I’m planning to run it every 30 seconds in the server so that we’ll be able to retrieve the latest data.
Do you have any recommendations aside from this approach to achieve my use case?