Prerequisites
Links
N/A.
Summary
$profile.AllUsersAllHosts with the MSIX installation points to the path like 'C:\Program Files\WindowsApps\Microsoft.PowerShell_7.6.1.0_x64__8wekyb3d8bbwe\profile.ps1'. The ACL of it's parent directory indicates administrators don't have write permission, so I guess it's by design that you cannot modify that file.
However, this limitation seems not documented in PowerShell docs. It's better to document it even though it's a by design behavior, because it's a mis-matched behavior comparing to the MSI installation.
Details
No response
Suggested Fix
No response
Prerequisites
Get-Foocmdlet" instead of "Typo."Links
N/A.
Summary
$profile.AllUsersAllHostswith the MSIX installation points to the path like'C:\Program Files\WindowsApps\Microsoft.PowerShell_7.6.1.0_x64__8wekyb3d8bbwe\profile.ps1'. The ACL of it's parent directory indicates administrators don't have write permission, so I guess it's by design that you cannot modify that file.However, this limitation seems not documented in PowerShell docs. It's better to document it even though it's a by design behavior, because it's a mis-matched behavior comparing to the MSI installation.
Details
No response
Suggested Fix
No response