impacket-atexec $DOMAIN/$USER:$PASSWORD@$IP whoami

Run a command via Task Scheduler with impacket, by auth method.

Command: Linux

References:

https://github.com/fortra/impacket