Hi,
OS = Windows Server 2019
I need to setup a task in Windows task scheduler. This task scheduler will run a powershell script using 'Invoke-WebRequest'
Invoke-WebRequest will run a script which is http://X.X.X.X:8080/DeleteLog/DeleteLog.jsp. This script is also on the same server where I need to create task.
Can please someone help me creating the powershell script using Invoke-WebRequest
Also .jsp script will clear the logs on same server
Thanks