How do you normally hibernate your Windows 8 computer? It doesn’t appear to be easy to me. Perhaps, having a little icon on the Taskbar or a tile on Start screen that can hibernate your Windows 8 just in one click would be cool.
And here is how a PowerShell script can do to add a Hibernation tile right on your Windows 8’s Start screen.
What you need
Make sure your Windows 8 computer is hibernation enabled. It’s enabled by default but if you had disabled it to save some space on your hard drive, you should re-consider because you should never disable it on Windows 8, unless you are using SSD.
Download the script
Download the PowerShell script from Microsoft website and extract the content (.PS1 file) into a place that is easy to access in PowerShell. I put it on my desktop but it isn’t a perfect spot to get access from PowerShell console.
Run the script to install the tile
Launch PowerShell as Administrator. If you still keep PowerShell in Win+X menu, you can press Win+X, and simply choose PowerShell (Admin).
First of all, run
Get-ExecutionPolicy to check if you can run an unsigned script. If it shows Restricted, run
Set-ExecutionPolicy UnRestricted to enable the policy temporarily. Make sure to run
Set-ExcutionPolicy Restricted once the task is finished.
Then, navigate to the location where the script file is saved, and run it as
./CreateHibernationWindowsTile.ps1. Make sure “./” is included. See the screenshot below for the process.
The new Tile is not pinned automatically to the Screen menu. Instead, you can find it in the All Apps screen under letter H.
Right-click or Tap and hold on the tile, and then pin it onto the Start screen or even on the Taskbar.
Now save all your work, and hit the Hibernation tile on the Start screen or the icon on the Taskbar to see if it works.