Last active
February 6, 2020 12:14
-
-
Save Y-LyN-10/c6fb193a3ddfe8dc08eefb323d12ad9e to your computer and use it in GitHub Desktop.
Powershell - Schedule a task after 1 minute
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SCHTASKS /Create /TN "Task Name" /TR something.exe /RU SYSTEM /RL HIGHEST /SC once /ST (Get-Date -Date ((Get-Date) + $(New-TimeSpan -Minutes 1)) -Format "HH:mm") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment