6 ms·
I want to use powershell more but I am too trained to <Win+R> cmd <enter> To do the same with powershell I need to type "powershell" within run, many more keys
by rmm 10y ago
I want to use powershell more but I am too trained to <Win+R> cmd <enter>
To do the same with powershell I need to type "powershell" within run, many more keystrokes. I would love to just type "ps" or something short to do this. (natively not via an alias for when im using other peoples computers)
- jm547ster 10y agoSet up an alias for ps via .bat which then closes the cmd window - <Win+R> cmd <Enter> ps
- jm547ster 10y agoSorry didn't read to the end of your comment :)
- ygra 10y agoI have pinned PowerShell to the task bar, so on machines I use with my users it's always Win+Shift+4 to get a new instance. Win+X,i is another way (provided you enabled the option for PowerShell to replace cmd on that menu, which the article mentions as becoming the default eventually).
- EvanAnderson 10y agoThe inability to launch an elevated process with an easy key shortcut in the "Run" <Win>+<R> dialog has been breaking me of that muscle memory over last few years. The <CTRL>+<SHIFT>+<ENTER> sequence to elevate a new process works from the "Search" text-box in the Start Menu, but not the "Run" dialog.
- Semaphor 10y agoYou just made my life so much better. Right click->Run as Administrator was pretty cumbersome.
- EvanAnderson 10y agoThat <CTRL>+<SHIFT> works on left-clicks on taskbar icons and double-clicks on other icons, too.
- ygra 10y agoIt also works with middle-clicks on taskbar icons to launch a new instance as admin.
- nix0n 10y agoYou might be interested to learn that for shortcuts, Rightclick->Properties->Shortcut Tab->Advanced has an option to "Run as administrator".
- Semaphor 10y agoYeah, I knew that but usually, I'm fine unelevated.
- Senji 10y agoYou can try this little utility: http://code.kliu.org/misc/elevate/ http://code.kliu.org/misc/elevate/ It's very handy.
- emmanueloga_ 10y agoThat's pretty cool. I've been using "su" [1] myself which is different, I think. From the website: "it will attempt to restart cmd.exe with administrator privileges, in the current directory, much like if you had started cmd.exe with rightclick "Run as Administrator" 1: http://p-nand-q.com/download/supershell.html http://p-nand-q.com/download/supershell.html
- Senji 10y agohaven't used that "su", but elevate will use the built in mechanism for privilege elevation, if you make UAC prompts silent it will simply work without bothering you.
- WorldMaker 10y agoWin+X,I (cmd or PowerShell, configurable, and the default that is about to swap hence all the articles lately) and Win+X,A (the same shell, but this time Admin).