/c
to run a batch script containing the command we want to runwmic /node:<remote IP/Hostname> process call create "<command>"
Create a scheduled task on the current or remote machine to run something. Uses COM under the hood
CLI
# Replace /RU with /U "user" /P "password" if we want specific context
schtasks /s <hostname/IP> /RU "SYSTEM" /create /tn "<task name>" /tr "<command/payload to execute>" /sc ONCE /sd 01/01/1970 /st 00:00
schtasks /s <hostname/IP> /run /TN "<task name>"
schtasks /S <hostname/IP> /TN "<task name>" /DELETE /F
schtasks /S <hostname/IP> /TN "<task name>" /DELETE /F
ATExec Implements this