Instead of using SCHTASKS.EXE or ScheduledTasks Powershell module that are not fully supported on all OS versions, use of Schedule.Service COM object
Instead of using SCHTASKS.EXE or ScheduledTasks Powershell module that are not fully supported on all OS versions, use of Schedule.Service COM object