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

Support for all customers who have purchased a PowerShell HelpWriter product license. This forum does not offer a response time guarantee.
Forum rules
DO NOT POST SUBSCRIPTION NUMBERS, LICENSE KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
User avatar
gokulks
Posts: 3
Joined: Fri Mar 24, 2017 1:59 am

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

Post by gokulks » Tue Oct 03, 2017 11:36 pm

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 150 times
Get-Help -Full screenshot.PNG
Get-Help -Full screenshot.PNG (63.85 KiB) Viewed 150 times
Thanks,
Gokul

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

User avatar
Olga_B
Site Admin
Posts: 18
Joined: Mon May 15, 2017 9:06 am

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

Post by Olga_B » Wed Oct 04, 2017 9:01 am

Thanks for reporting the issue.
Also need some clarification about product. Are you taking about PowerShell HelpWriter or PowerShell Help?

User avatar
gokulks
Posts: 3
Joined: Fri Mar 24, 2017 1:59 am

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

Post by gokulks » Wed Oct 04, 2017 9:35 am

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

User avatar
Alexander Riedel
Posts: 6295
Joined: Tue May 29, 2007 4:43 pm

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

Post by Alexander Riedel » Wed Oct 04, 2017 9:51 am

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.
Alexander Riedel
SAPIEN Technologies, Inc.