I am intensively working with Powershell Scripts which are executed at startup (local machine, not logon). I had some problems to troubleshoot like "Wait for network" or replication failures between our domain controllers that prevented sometimes the execution of my Powershell Script during startup.
As I now have fixed all of these problems and the event log looks good, I discovered, that the Powershell script is often not executed. I looked what my colleagues made and it seems like the Powershell script at startup ist only executed when the perform a restart. As I know Windows 10 (and 8?) performs a hibernate shutdown and startup when you normally use "shutdown". This isn't the case if you choose restart.
Am I right with this assumption? I found nothing documented in the world wide web. I disabled the Fast Boot / Hibernate Boot in our domain and will have a look every day the script is at least executed one time.
Looking forward to hear your experience.