How does Win10 view the last shutdown method of the computer?

  

Microsoft has always taken care of the user's shutdown habits. Sleeping, hibernation, shutdown, quick start and other different ways have different uses, all adhering to the principle of energy saving and high efficiency, if you want to know the last time the computer was shut down. What kind of way to shut down, you can view it with a simple command. A shutdown mode method of

Win10 viewed on:

1, Cortana in the search bar enter Powershell, press the Enter key to enter

2, enter and execute the following Command:
Get-WinEvent -ProviderName Microsoft-Windows-Kernel-boot -MaxEvents 10 |  Where-Object {$_.id -like "27"}

Note: English version of Win10 users should enter the following command:
Get-WinEvent -ProviderName Microsoft-Windows-Kernel-boot -MaxEvents 10 |  Where-Object {$_.message -like "The boot type*"}

3. Check the last shutdown method against the following code table:

• 0x0 - Full shutdown

• 0x1 - Hybrid Shutdown (“Quick Start & rdquo; Mode)

• 0x2 - Sleep

The Win10 system power button includes a hybrid shutdown in addition to the traditional shutdown mode. In this way, the user wants to know the shutdown status of his Win10 system, and can operate according to the above method. A simple command can be completed.

Copyright © Windows knowledge All Rights Reserved