Skip to content

Simplify discovering and enabling experimental features #8155

@SteveL-MSFT

Description

@SteveL-MSFT

Experimental feature flags is new to PSCore6.1. We are starting to have some features implemented behind the experimental flag. Currently, you have to pass -ListAvailable to Get-ExperimentalFeature to all the features and not just the enabled ones. For users new to experimental features, this seems non-obvious and it appears that there are no experimental features which limits how much feedback we can get. I would suggest removing the need for -ListAvailable as the user can easily filter enabled vs disabled ones.

After the user sees the available features, it's not obvious how to update their PowerShell settingsfile to enable the feature. They need to add something like:

            {
                "ExperimentalFeatures": [
                  "PSUseAbbreviationExpansion",
		  "PSImplicitRemotingBatching"
                ]
            }

To their config file. Seems like we need to add support for user config files instead of just system wide. A cmdlet to enable features (which message indicating the features are enabled after restart of PowerShell) as well as disabling features.

Environment data

Name                           Value
----                           -----
PSVersion                      6.2.0-preview.1
PSEdition                      Core
GitCommitId                    6.2.0-preview.1-43-g66a4ab10a9c33d0a1e7daef9a8cb6ba881e8de02
OS                             Darwin 18.0.0 Darwin Kernel Version 18.0.0: Wed Aug 22 20:13:40 PDT 2018; root:xnu-4903.201.2~1/RELEASE_X86_64
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifResolution-FixedThe issue is fixed.WG-Cmdlets-Corecmdlets in the Microsoft.PowerShell.Core module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions