How to Add Windows PowerShell Script to New Context Menu in Windows 10

A .ps1 script file is a text file that contains one or more Windows PowerShell commands or expressions. A .ps1 file will open with Notepad by default. To run a .ps1 file with PowerShell, you would right click or press and hold on the .ps1 file and click tap on “Run with PowerShell”.

The New context menu allows users to quickly create new files, folders, and shortcuts. You can right click or press and hold on your desktop or in any folder window, and click/tap on New to open the New context menu.

By default, Windows PowerShell Script is not in the New click context menu. Adding “Windows PowerShell Script” to the New context menu will make it easy for users to be able to quickly create a new .ps1 file on demand ready to be edited afterwards.

This tutorial will show you how to add or remove Windows PowerShell Script to the New context menu for all users in Windows 10.

Read more…