Add 'Edit or Run with' to PS1 File Context Menu in Windows 10  

Page 4 of 4 FirstFirst ... 234

  1. Posts : 447
    Win7 Pro X64, Win10 Pro x640
       #30

    Brink said:
    Hello,

    Other than installing it, I'm not aware of a way to remove the suggestion in PowerShell.
    I do have PowerShell 7 installed as well. How come the standard PowerShell 5.1 entry launches a shell with no MS copyright but the elevated PS window does? I tried looking at the code but couldn't find anything other than -noexit that would account but -noexit line doesn't remove any of the copyright or advertising info.
      My Computer

  2. Brink's Avatar
    Posts : 59,371
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #31

    bamajon1974 said:
    I do have PowerShell 7 installed as well. How come the standard PowerShell 5.1 entry launches a shell with no MS copyright but the elevated PS window does? I tried looking at the code but couldn't find anything other than -noexit that would account but -noexit line doesn't remove any of the copyright or advertising info.
    Not sure, but both elevated and non-elevated PowerShell 5.1 have the copyright and ad info for me.
      My Computers


  3. Posts : 447
    Win7 Pro X64, Win10 Pro x640
       #32

    The non-elevated PS v5.1 window just has the directory path for me. Not sure why....
      My Computer

  4. Paul Black's Avatar
    Posts : 14,664
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #33

    Hello @Brink ,

    Do you think it would be a good idea to ADD . . .

    > How to Add or Remove PowerShell 7 Open Here Context Menu in Windows 10

    . . . to this Tutorials REG file at the Top of the REG file?

    The Title could then just be changed to Open, Run or Edit with . . .

    Code:
    
    [HKEY_CLASSES_ROOT\Microsoft.PowerShellScript.1\Shell\Edit-Run-with]
    "MUIVerb"="Open, Run or Edit with"
    "Extended"=-
    "SubCommands"=""

    There would also need to be an extra "CommandFlags"=dword:00000020 added.

    Just a thought!

      My Computer

  5. Brink's Avatar
    Posts : 59,371
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #34

    Hello @Paul Black,

    If PowerShell 7 didn't have to be installed, I would. Since it's not installed by default, it's best to still use the included PowerShell instead.
      My Computers

  6. Paul Black's Avatar
    Posts : 14,664
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #35

    Brink said:
    Hello @Paul Black,

    If PowerShell 7 didn't have to be installed, I would. Since it's not installed by default, it's best to still use the included PowerShell instead.
    Fair enough. Thanks for the explanation, it is appreciated.
      My Computer


  7. Posts : 1
    Windows 10
       #36

    Confirmed not working on Windows 11 with its new right click menus... Researching what it will take to re-enable it...
      My Computer



 
Page 4 of 4 FirstFirst ... 234

Tutorial Categories

Add 'Edit or Run with' to PS1 File Context Menu in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 15:13.
Find Us




Windows 10 Forums