Simple script that automates setting a new scheduled task to run a malicious payload on a schedule and thus remain you persistent while operating.
Import the script on your target machine and just execute using powershell :
PS /home/pi0x73/Desktop>.\Powersistence.ps1 -Path 'C:\Path\To\Executable.exe'