Prerequisites
Links
Summary
The Get-WindowsCapability documentation states that the -Name parameter does not accept wildcards, but the cmdlet does accept wildcards for the -Name parameter.
Expected
PS C:\> Get-WindowsCapability -Online -Name '*rsat*' | Format-Table -AutoSize
No results, or an error/warning
Actual
PS C:\> Get-WindowsCapability -Online -Name '*rsat*' | Format-Table -AutoSize
Name State DisplayName
---- ----- -----------
Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0 NotPresent RSAT: Active Directory Domain Services and Lightwe…
Rsat.AzureStack.HCI.Management.Tools~~~~0.0.1.0 NotPresent RSAT: PowerShell module for Azure Stack HCI
I suspect this is also true of other DISM cmdlets, although I haven't done a thorough investigation.
Details
No response
Suggested Fix
I believe the documentation is automatically generated, so the source code probably just needs to be updated to signify that the parameter accepts wildcards.
Prerequisites
Get-Foocmdlet" instead of "Typo."Links
Summary
The
Get-WindowsCapabilitydocumentation states that the-Nameparameter does not accept wildcards, but the cmdlet does accept wildcards for the-Nameparameter.Expected
Actual
I suspect this is also true of other DISM cmdlets, although I haven't done a thorough investigation.
Details
No response
Suggested Fix
I believe the documentation is automatically generated, so the source code probably just needs to be updated to signify that the parameter accepts wildcards.