Duplicate ExperimentalFeatures entries in powershell.config.json
See original GitHub issueSteps to reproduce
Download powershell-7.1.0-preview.6-linux-x64.tar.gz
Open powershell.config.json in text editor
Expected behavior
Each ExperimentalFeature is mentioned once.
Actual behavior
There are duplicate entries for: “Microsoft.PowerShell.Utility.PSManageBreakpointsInRunspace”, and “PSDesiredStateConfiguration.InvokeDscResource”

Environment data
Name Value
---- -----
PSVersion 7.1.0-preview.6
PSEdition Core
GitCommitId 7.1.0-preview.6
OS Linux 5.4.0-42-generic #46~18.04.1-Ubuntu SMP Fri Jul 10 07:21:24 UTC 2020
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Enable-ExperimentalFeature (Microsoft.PowerShell.Core)
The Enable-ExperimentalFeature cmdlet enables experimental features by adding the named experimental features to the powershell.config.json settings file ...
Read more >about PowerShell Config
The powershell.config.json file contains configuration settings for PowerShell. PowerShell loads this configuration at startup.
Read more >about Experimental Features - PowerShell
Enabled experimental features are listed in the powershell.config.json file in $PSHOME for all users or the user-specific configuration file ...
Read more >Inplace upgrade without replacing PowerShell.config.json file
On new upgrades of PowerShell, my settings in this file should not be lost and should be combined with any additional new settings...
Read more >Edit a json file with case-sensitive duplicate keys using ...
I'm stuck using version 5 of PowerShell. I'm running into issues parsing the file, because the content contains case-sensitive duplicate key ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@rjmholt It’s an artifact generated at build time, at the end of
Start-PSBuild.@MaximoTrinidad I guess duplicates are tolerated.
If duplicates are tolerated, this seems like a superficial bug. I’ve moved to future.