For schtasks command, Do not put "/RP" with u wanna use "/IT". it might not work.
eg.
schtasks /CREATE /S 192.168.1.10 /RU ru_name /TN 123test /SC ONCE /TR "Powershell.exe D:\test123.ps1" /ST 13:00 /SD 10/10/2016 /IT /f /RL highest
schtasks /CREATE /TN 123test /SC ONCE /TR "Powershell.exe D:\test123.ps1" /ST 13:00 /SD 10/10/2016 /IT
Thursday, October 15, 2015
Wednesday, October 07, 2015
Subscribe to:
Posts (Atom)