PowerShell

Create Windows Shutdown, Restart, Logoff, Switch User, Hibernation Tiles using PowerShell Scripts

Create Windows Shutdown, Restart, Logoff, Switch User, Hibernation Tiles using PowerShell Scripts

In this post, we will see how to use PowerShell Scripts to create & add Shutdown, Restart, Logoff, Switch User, Hibernation Tiles to Windows 10/8 Start Menu/Screen. As you know Windows 8 has a Start Screen replaces the Start Menu. And this for many is still the concern as they are used to the Windows 7 Start button providing this menu. Though I can say, that with a bit of learning and using, you will start liking the Start Screen equally - if not more. But for some Windows 8 users, the main concern is that without the Start menu, it can be a chore to shut down or reboot Windows 8. And many of the Windows 8 users want to shutdown Windows 8 with just a click.

We have already seen 10 different ways you can shut down or restart Windows 8. In this post, we will see how to create a Shutdown, Restart, Switch User, Hibernation, and Logoff tile for Windows 8 using Powershell Script. You don't have to worry about knowing to code for the script. Microsoft TechNet has made available for download a ready-made script that will do the job for you. Just download the script, import, and invoke the cmdlet.

Create Shutdown, Restart, Logoff, Switch User, Hibernate Tiles

Download CreateWindowsTile.zip from TechNet Script Center, to create creating Shutdown/Restart/Logoff Tiles. Unzip and extract the contents.

Now let us see how to create these Tiles step by step:

First, open the Windows PowerShell as Administrator. For this, in Windows 8 Start Screen, just type PowerShell, as soon as you start typing, it'll list all the apps, so from there, select and right-click on Windows PowerShell and Run as administrator to open the Windows PowerShell console.

Now here we have to run import-module cmdlet to import the downloaded module.

Now to run the script in the Windows PowerShell Console, type the command: Import-Module