Quantcast
Channel: Active questions tagged windows - Super User
Viewing all articles
Browse latest Browse all 8915

Manage Windows App Execution Aliases from PowerShell

$
0
0

Is it possible to turn off app execution aliases from Powershell?

I am ideally looking for a command like:

PS> Disable-AppExecutionAlias python

Right now, the only way I can find to do this is by going to the Start menu and searching for "Manage app execution aliases", then disabling them manually. I'd like to be able to do this programatically.

enter image description here

Context: I am writing a script to set up relatively simple workstations and trying to eliminate all the manual steps.

EDIT:

I am aware of Set-Alias and Remove-Alias, but these are PowerShell aliases, not app execution aliases as shown in the screenshot above.


Viewing all articles
Browse latest Browse all 8915

Trending Articles