Get-ExperimentalFeature

获取实验性特征。

语法

Default (默认值)

Get-ExperimentalFeature
    [[-Name] <String[]>]
    [<CommonParameters>]

说明

Get-ExperimentalFeature cmdlet 返回 PowerShell 发现的所有实验性功能。 实验性功能可能来自模块或 PowerShell 引擎。 实验性功能允许用户在设计完成之前安全地测试新功能并提供反馈(通常通过 GitHub),并且任何更改都可能成为重大更改。

示例

示例 1

获取当前注册的实验功能及其当前状态的列表。

Get-ExperimentalFeature
Name                         Enabled Source      Description
----                         ------- ------      -----------
PSImplicitRemotingBatching   False PSEngine      Batch implicit remoting proxy commands to improve performance

参数

-Name

要返回的特定试验性功能的名称。

参数属性

类型:

String[]

默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:0
必需:False
来自管道的值:True
来自管道的值(按属性名称):False
来自剩余参数的值:False

CommonParameters

此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters

输入

String

可以通过管道将包含试验性功能的字符串传递给此 cmdlet。

输出

ExperimentalFeature

如果未指定名称,此 cmdlet 将返回与请求的名称匹配的实例或所有实验功能。