an Hyper-V Server 2019 attempts to run a network powershell script at computer startup, through the Task Scheduler, however this script will not run at startup, nothing happens.
Once the Hyper-V server has booted, if the script is manually launched through the Task Scheduler, it will run.
Could it be possible that the script will fail to run because the network is not available at that time?
As suggested by @Hazrelle, delaying the script start for 5 minutes did the trick. I have followed instructions in this article:
https://www.maketecheasier.com/start-scheduled-tasks-with-delay-windows/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.