Win10 computer used to shut down the last time to view the command tutorial

  
Win10 brand new "quick start" combined with the traditional "sleep" mode principle, belonging to the "mixed" mode, this way effectively reduce Switching time. However, there is no specific reflection on the shutdown option. If you want to know which way your Win10 computer was shut down last time, you can use a command to view it.

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, input and execute the following command: < Br>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 - mixed shutdown (& ldquo; Quick start & rdquo; way)
& bull; 0x2 - sleep



Copyright © Windows knowledge All Rights Reserved