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,365
    234
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. lobo11

    lobo11 TOMAHAWK CHOP

    Feb 16, 2012
    6,543
    5,047
    210
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. MonarchX

    MonarchX MDL Expert

    May 5, 2007
    1,365
    234
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...