You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Install from the Store does not seem to allow for PowerShelI to be associated with .ps1 files #20039
How do I associate .ps1 files with the Powershell executable?
I installed Powershell from the Microsoft Store, and when I double click on .ps1 files, the "Select an app to open this .ps1 file" context menu appears, but I don't see Powershell as an option on it
I tried looking into this as I alsi have installed PowerShell from the store too (& the preview version) but neither of them can be picked in the picker as part of the Default App settings page either. I think this is something with how PowerShell gets registered on install and this will need further investigation
changed the title [-]How do I associate .ps1 files with the Powershell executable?[/-][+]Install from the Store does not seem to allow for PowerShelI to be associated with .ps1 files[/+]on Jul 28, 2023
I kinda wanna say this may have been fixed but will test this again on a new build sometime between now and mid-jan, so assigning to me, unless others in the community can & want to test and confirm if this is still the case.
Activity
kilasuit commentedon Jul 28, 2023
I tried looking into this as I alsi have installed PowerShell from the store too (& the preview version) but neither of them can be picked in the picker as part of the Default App settings page either. I think this is something with how PowerShell gets registered on install and this will need further investigation
[-]How do I associate .ps1 files with the Powershell executable?[/-][+]Install from the Store does not seem to allow for PowerShelI to be associated with .ps1 files[/+]kilasuit commentedon Dec 15, 2025
I kinda wanna say this may have been fixed but will test this again on a new build sometime between now and mid-jan, so assigning to me, unless others in the community can & want to test and confirm if this is still the case.
kilasuit commentedon May 16, 2026
closing this in favour of #27277
.ps1files with PowerShell installed via.msixbundle#27277