Closed tommymaynard closed 1 month ago
Typo
Example 5 [1] shows that VisibleCmdlets can be used with a wildcard ('Get*'); however, the parameters section for VisibleCmdlets [2] indicates that wildcards are not supported. In my own testing, they can be used.
[1] https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/new-pssessionconfigurationfile?view=powershell-7.4#example-5-create-a-sample-configuration-file [2] https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/new-pssessionconfigurationfile?view=powershell-7.4#-visiblecmdlets
https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/new-pssessionconfigurationfile?view=powershell-7.4
https://github.com/MicrosoftDocs/PowerShell-Docs/blob/main/reference/7.4/Microsoft.PowerShell.Core/New-PSSessionConfigurationFile.md
@sdwheeler
42085b58-d562-bd87-2d61-51e5c73f35ea
Type of issue
Typo
Feedback
Example 5 [1] shows that VisibleCmdlets can be used with a wildcard ('Get*'); however, the parameters section for VisibleCmdlets [2] indicates that wildcards are not supported. In my own testing, they can be used.
[1] https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/new-pssessionconfigurationfile?view=powershell-7.4#example-5-create-a-sample-configuration-file [2] https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/new-pssessionconfigurationfile?view=powershell-7.4#-visiblecmdlets
Page URL
https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/new-pssessionconfigurationfile?view=powershell-7.4
Content source URL
https://github.com/MicrosoftDocs/PowerShell-Docs/blob/main/reference/7.4/Microsoft.PowerShell.Core/New-PSSessionConfigurationFile.md
Author
@sdwheeler
Document Id
42085b58-d562-bd87-2d61-51e5c73f35ea