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.
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.