For a parameter of a nullable type, the base code help text displayed:
PS> Get-Help Test-ManualElements -param NullableParameter
-NullableParameter <Nullable`1>
The revised code will recognize when a parameter is a nullable type and
display the underlying type instead. In the test example that is an integer:
PS> Get-Help Test-ManualElements -param NullableParameter
-NullableParameter
The fact that the type is nullable is typically of no interest to the end-user
so this is a much more useful output.
For a parameter of a nullable type, the base code help text displayed: PS> Get-Help Test-ManualElements -param NullableParameter -NullableParameter <Nullable`1>
The revised code will recognize when a parameter is a nullable type and display the underlying type instead. In the test example that is an integer: PS> Get-Help Test-ManualElements -param NullableParameter -NullableParameter
The fact that the type is nullable is typically of no interest to the end-user so this is a much more useful output.