Get-ExperimentalFeature
取得實驗性功能。
語法
Default (預設值)
Get-ExperimentalFeature
[[-Name] <String[]>]
[<CommonParameters>]
Description
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
您可以使用管道將包含實驗性功能名稱的字串傳送至此命令小程序。
輸出
ExperimentalFeature
如果未指定名稱,此 Cmdlet 會傳回符合所要求名稱或所有實驗功能的實例。