I would like, by default, for PowerShell to be launched instead of Command when, say, running a batch file, or when I "Open Command Window Here", etc.
I just did a very quick test and the following registry entry will add a "PowerShell here" item to the context menu of all folders in explorer:
Just import it into the registry.
I am using
Regarding cmd scripts/batch files. I think it does not make much sense to run CMD scripts within PowerShell by default. But it might be possible as well by modifying
You're not going to get very far with running CMD batch files in PowerShell.
You can try changing the
save the file as *.ps1 instead of *.bat and it will use powershell