PS1 – Windows Blog by Brink

PS1

How to Add “Edit or Run with” PS1 File Context Menu in Windows 10

A PS1 file is a script, or cmdlet, used by Windows PowerShell.

This tutorial will show you how to add or remove a custom Edit or Run with cascading context menu for PowerShell .ps1 files for all users in Windows 10.

The Edit or Run with cascading context menu includes the following items for PS1 files :

  • Run with PowerShell
  • Run with PowerShell as administrator
  • Run with PowerShell 7
  • Run with PowerShell 7 as administrator
  • Edit with PowerShell ISE
  • Edit with PowerShell ISE as administrator
  • Edit with PowerShell ISE (x86)
  • Edit with PowerShell ISE (x86) as administrator
  • Edit with Notepad
  • Edit with Notepad as administrator

Read more…