Page 1 of 1

Get-Help for any cmdlet not showing <CommonParameters> with -ShowWindow option

Posted: Tue Oct 03, 2017 11:36 pm
by gokulks
To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build: PowerShell HelpWriter 2017 v2.1.36
32 or 64 bit version of product: 64-bit version
Operating system: Windows 10
32 or 64 bit OS: 64-bit

*** Please add details and screenshots as needed below. ***
Hi,

Any Get-help for the cmdlets generated using Helpwriter is not displaying <commonparameters> in the parameter section when used with -ShowWindow option. But same is displayed with used with -Full option for the same cmdlet on console.

Get-Help -ShowWindow screenshot.PNG
Get-Help -ShowWindow screenshot.PNG (33.75 KiB) Viewed 3856 times
Get-Help -Full screenshot.PNG
Get-Help -Full screenshot.PNG (63.85 KiB) Viewed 3856 times
Thanks,
Gokul

DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM

Re: Get-Help for any cmdlet not showing <CommonParameters> with -ShowWindow option

Posted: Wed Oct 04, 2017 9:01 am
by Olga_B
Thanks for reporting the issue.
Also need some clarification about product. Are you taking about PowerShell HelpWriter or PowerShell Help?

Re: Get-Help for any cmdlet not showing <CommonParameters> with -ShowWindow option

Posted: Wed Oct 04, 2017 9:35 am
by gokulks
Hi Support,

I am talking about PowerShell help but as we are generating mamal using PowerShell HelpWriter we need you suggestion\clarification on the same.

I want to know is this a limitation from PowerShell help or a bug in your product.

Thanks,
Gokul

Re: Get-Help for any cmdlet not showing <CommonParameters> with -ShowWindow option

Posted: Wed Oct 04, 2017 9:51 am
by Alexander Riedel
I checked the generated xml for common parameters and it seems to be in synch with what Microsoft itself puts out. I would guess that the PowerShell team decided for one reason or another to omit common parameters when using -ShowWindow, but I would suggest to ask them directly.
As soon as I can I will put this in front of the development team to double check, but I cannot find anything wrong with the tools output at this time.