Is your computer turned off? A command tells you whether the last Win10 system was shut down or hibernated.

  

Starting from Win8, the shutdown mode of Windows is more abundant, not limited to traditional full shutdown, hibernation, and sleep before Win7 and XP. And other options. The new "quick start" combines the traditional "sleep" mode principle, belonging to the "mixing" mode, which effectively reduces the switch time. However, there is no specific reflection on the shutdown option. If you want to know which way your Win10 computer was last turned off, you can check it with a single command.

Running this command is very simple, just enter Powershell, the method is as follows:

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

2. Enter and execute the following command: Get-WinEvent -ProviderName Microsoft-Windows-Kernel-boot -MaxEvents 10 |  Where-Object {$_.id -like “27”};

Note that the English version of Windows10 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; Way)

• 0x2 - Sleep

Recommended:

win10 always What should I do if I automatically restart my automatic shutdown?

How does win10 speed up system startup and shutdown?

What should I do if the power light is always on after the Win10 system is turned off?

What should I do if the computer is automatically turned on after the system is shut down?

Copyright © Windows knowledge All Rights Reserved