Outdated script. Use something else by searching this blog further. # scheduledTasksRemote_V0.0.2.ps1# Purpose: to add…