-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Open
Labels
Committee-ReviewedPS-Committee has reviewed this and made a decisionPS-Committee has reviewed this and made a decisionIssue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugPackage-MSIXIssue occurs with MSIX packageIssue occurs with MSIX packageWG-RemotingPSRP issues with any transport layerPSRP issues with any transport layer
Milestone
Description
Summary of the new feature/enhancement
For Snap and AppX packages of PSCore6, $PSHOME is effectively read-only. Any configuration stored in $PSHOME needs to be in a different location. On Windows 10, it would make sense to be in $env:SystemDrive\ProgramData.
Register-PSSessionConfiguration stores the config file in $PSHOME\SessionConfig folder.
powershell.config.json for the system is stored in $PSHOME, this means that admins can't set system wide config and cmdlets like Enable-ExperimentalFeature -Scope AllUsers won't work.
Update-Help -Scope AllUsers also won't work as it's stored in $PSHOME.
When this is fixed, test changes relying on Test-CanWriteToPsHome should be reverted.
mashmore1979 and ExE-Boss
Metadata
Metadata
Assignees
Labels
Committee-ReviewedPS-Committee has reviewed this and made a decisionPS-Committee has reviewed this and made a decisionIssue-Enhancementthe issue is more of a feature request than a bugthe issue is more of a feature request than a bugPackage-MSIXIssue occurs with MSIX packageIssue occurs with MSIX packageWG-RemotingPSRP issues with any transport layerPSRP issues with any transport layer