Last week we had a problem with the ESET antivirus which blocked the XML file of winrm tasks located in C:\Windows\System32\Tasks\WinRM_Elevated_Shell.xml.
After resolution of the problem by ESET, the windows task scheduler was in an inconsistent state. It was no longer possible to create WinRM_Elevated_Shell task.
This PR allows to change the name of the winrm tasks to avoid blocking and to delete the tasks at the end of the script.
Last week we had a problem with the ESET antivirus which blocked the XML file of winrm tasks located in C:\Windows\System32\Tasks\WinRM_Elevated_Shell.xml.
After resolution of the problem by ESET, the windows task scheduler was in an inconsistent state. It was no longer possible to create WinRM_Elevated_Shell task.
This PR allows to change the name of the winrm tasks to avoid blocking and to delete the tasks at the end of the script.
It is also possible to multi thread with the gem.