-1

Presently I have run Command Prompt as Admin in my context menu. I would like to have similar functionality for Powershell as Admin.

Can any one guide me, how do I achieve that?

Simply I tried to change cmd.exe with powershell.exe and change context name. It didn't work. It replaced existing Command Prompt and opened non-usable Powershell

5
  • 5
    See this..powershellmagazine.com/2013/06/25/…
    – Moab
    Jan 12, 2016 at 4:38
  • @Moab, that's great. The only problem is it replaces existing cmd prompt as admin shortcut in context menu. I would like to have both
    – RaceBase
    Jan 12, 2016 at 4:59
  • @LMFAO_A_JOKE, Please re-read my question. If I am not able to convey it rightly, let me know. It's not the problem of running PS as admin. It's about adding a context shortcut in Explorer.
    – RaceBase
    Jan 12, 2016 at 5:12
  • @LMFAO_A_JOKE, boss read the question. Shortcut in Explorer Context menu do you understand what that means?
    – RaceBase
    Jan 12, 2016 at 5:22
  • @Reddy add the fact you want both, to your question as it is not clear that is your intention.
    – Moab
    Jan 12, 2016 at 13:46

1 Answer 1

1

You may install alternative terminal ConEmu (I'm the author) where you may run any shell you want. Than, creating any context menu becomes as simple as few clicks.

Settings/Integration

  • ConEmu here groupbox
  • Menu item: PowerShell (admin)
  • Command: PowerShell -cur_console:a
  • Icon file: PowerShell.exe

Don't forget to press Register button.

Not the answer you're looking for? Browse other questions tagged .