Skip to content

Commit e7fe22f

Browse files
committed
Address some comments
1 parent 56ba6a6 commit e7fe22f

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

2-Draft-Accepted/RFCNNNN-Support-Experimental-Features.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,8 +393,19 @@ will be updated to incorporate this metadata to the resulted `PSModuleInfo` obje
393393

394394
#### Get-ExperimentalFeature
395395

396-
A new cmdlet `Get-ExperimentalFeature` will be added to return all available experimental features of a PowerShell session.
396+
A new cmdlet `Get-ExperimentalFeature` will be added to return all experimental features of a PowerShell session.
397397
The returned experimental features are represented by the type [`ExperimentalFeature`](#powerShell-engine-experimental-feature).
398+
The syntax signature of the cmdlet will look as follows:
399+
400+
```powershell
401+
Get-ExperimentalFeature [-Enabled] [-Disabled] [<CommonParameters>]
402+
403+
Get-ExperimentalFeature [-Name] <string[]> [<CommonParameters>]
404+
```
405+
406+
When `-Enabled` is specified, only enabled experimental features will be returned.
407+
When `-Disabled` is specified, only disabled experimental features will be returned.
408+
When `-Name` is specified, only those specified experimental features will be returned.
398409

399410
The cmdlet first goes through the items in `EngineExperimentalFeatures` to find all engine experimental features.
400411

0 commit comments

Comments
 (0)