Run PowerShell PS1 files as Admin in Context Menu - possible?

Discussion in 'Windows 10' started by MonarchX, Apr 11, 2017.

  1. MonarchX

    MonarchX MDL Expert

    May 5, 2007
    1,733
    309
    60
    If I double-click on PS1 files, then Notepad opens up... I can right-click and select "Run with PowerShell", but I can't find online how to create a "Run with PowerShell As Admin" context menu when PS1 file is right-clicked. Any ideas?
     
  2. lobo11

    lobo11 TOMAHAWK CHOP

    Feb 16, 2012
    6,581
    5,315
    210
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...