Get-ExperimentalFeature

取得實驗性功能。

Syntax

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

Description

Cmdlet 會 Get-ExperimentalFeature 傳回 PowerShell 探索到的所有實驗性功能。 實驗性功能可能來自模組或PowerShell引擎。 實驗性功能可讓用戶在設計完成之前安全地測試新功能並提供意見反應(通常是透過 GitHub),且任何變更都可能成為重大變更。

範例

範例 1

取得目前註冊的實驗功能及其目前狀態的清單。

Get-ExperimentalFeature

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

參數

-Name

要傳回之特定實驗性功能的名稱或名稱。

Type:String[]
Position:0
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

輸入

String[]

您可以使用管線將包含實驗性功能名稱的字串傳送至此 Cmdlet。

輸出

ExperimentalFeature

如果未指定名稱,此 Cmdlet 會傳回符合所要求名稱或所有實驗功能的實例。