Set PowerShell as your CLI of choice in Windows 8. WITH POWERSHELL

In a conversation on Twitter, I lamented with some friends that Hitting Windows+X in Windows 8 and above opens up the admin window, but still–In 2014–lists Command Prompt as the CLI.

PowerShellWPowerShell
Maybe in Windows Vista this would have made sense…but PowerShell had already been out for SIX YEARS when Windows 8 shipped.

With one single line of PowerShell, we can right this grieveous wrong.

Set-ItemProperty HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced `
-Name "DontUsePowerShellOnWinX" -Value 0

yoDawg

 

And to test it…

PowerShellWPowerShell1

 

aaawwwyeah

 

Advertisements