How is your machine configured to startup?
Listing 8.18 of the Scripting Guide has the answer.
Get-WmiObject -Class Win32_ComputerSystem | Select AutomaticResetBootOption, AutomaticResetCapability, BootupState, SystemStartupOptions, SysetmStartupSetting
The first 2 properties are booleans indicating whether the system is set for automatic restart and if it is capable of automatic restart. The Bootstate will show Normal Boot unless you have gone into Safe start etc. The last 2 will be blank unless you have dual boot configured on the machine. if so you will see the options and the chosen setting