Prerequisites
Steps to reproduce
Two types are defined for Inputs and four for Outputs in Get-PSBreakpoint.
> $xml = [xml](Get-Content -Path ./test/Pester/assets/Microsoft.PowerShell.Commands.Utility.dll-Help.xml)
> $xml.DocumentElement.command.Where({ $_.details.name -eq "Get-PSBreakpoint" }).inputTypes.inputType.type.name
System.Int32
Microsoft.PowerShell.Commands.BreakpointType
> $xml.DocumentElement.command.Where({ $_.details.name -eq "Get-PSBreakpoint" }).returnValues.returnValue.type.name
System.Management.Automation.CommandBreakpoint
System.Management.Automation.LineBreakpoint
System.Management.Automation.VariableBreakpoint
System.Management.Automation.Breakpoint
However, Import-Mamlhelp loads only the first one each for Inputs and Outputs.
> $cmdHelps = Import-Mamlhelp -Path ./test/Pester/assets/Microsoft.PowerShell.Commands.Utility.dll-Help.xml
> $cmdHelps| ? Title -eq "Get-PSBreakpoint" | fl Title,Inputs,Outputs
Title : Get-PSBreakpoint
Inputs : {System.Int32}
Outputs : {System.Management.Automation.CommandBreakpoint}
Expected behavior
Title : Get-PSBreakpoint
Inputs : {System.Int32, Microsoft.PowerShell.Commands.BreakpointType}
Outputs : {System.Management.Automation.CommandBreakpoint, System.Management.Automation.LineBreakpoint, System.Management.Automation.VariableBreakpoint, System.Management.Automation.Breakpoint}
Actual behavior
Title : Get-PSBreakpoint
Inputs : {System.Int32}
Outputs : {System.Management.Automation.CommandBreakpoint}
Error details
Environment data
Name Value
---- -----
PSVersion 7.5.3
PSEdition Core
GitCommitId 7.5.3
OS Ubuntu 24.04.3 LTS
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Version
1.0.1
Visuals
No response
Prerequisites
Steps to reproduce
Two types are defined for Inputs and four for Outputs in
Get-PSBreakpoint.However,
Import-Mamlhelploads only the first one each for Inputs and Outputs.Expected behavior
Actual behavior
Error details
NoneEnvironment data
Version
1.0.1
Visuals
No response