"Confirm" switch parameter is not generated in Help xml files

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.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
User avatar
gokulks
Posts: 5
Joined: Fri Mar 24, 2017 1:59 am

"Confirm" switch parameter is not generated in Help xml files

Post by gokulks » Wed Jan 31, 2018 3:28 am

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: 2.1.36
32 or 64 bit version of product: 64-bit
Operating system:
32 or 64 bit OS: 64-bit Windows 10

*** Please add details and screenshots as needed below. ***
Any cmdlet which supports confirm switch functionality, the -Confirm parameter is added by PowerShell directly at run-time but the HelpWriter is not generating the parameter from the source code. Even if we deliberately add the -Confirm parameter and later generate the help from module then the parameter will vanish as actual code does not contain the parameter but its dynamically generated.

Can you product team look into it and give a fix as soon as possible as our release is impacted because of this issue.

Thanks,
Gokul

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

User avatar
davidc
Posts: 5126
Joined: Thu Aug 18, 2011 4:56 am

Re: "Confirm" switch parameter is not generated in Help xml files

Post by davidc » Wed Jan 31, 2018 9:34 am

Confirm and WhatIf parameters were filtered out with the other common parameters. This issue will be resolved in a first service build after the initial 2018 release next week.
David
SAPIEN Technologies, Inc.

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

Re: "Confirm" switch parameter is not generated in Help xml files

Post by gokulks » Mon Feb 05, 2018 8:59 am

Hi David,

Thanks for accepting the issue. Can i know when exactly we can expect the build so that i can plan my activities.

Thanks,
Gokul

User avatar
davidc
Posts: 5126
Joined: Thu Aug 18, 2011 4:56 am

Re: "Confirm" switch parameter is not generated in Help xml files

Post by davidc » Mon Feb 05, 2018 9:14 am

Unfortunately, we can't provide any time tables, but we usually push out new releases in a monthly cycle. I will see what I can do to get an early release for HelpWriter, but I can make no promises.
David
SAPIEN Technologies, Inc.

User avatar
davidc
Posts: 5126
Joined: Thu Aug 18, 2011 4:56 am

Re: "Confirm" switch parameter is not generated in Help xml files

Post by davidc » Tue Feb 20, 2018 11:14 am

We just released a PowerShell HelpWriter service build (v2.2.38), that includes the Confirm and WhatIf parameters.
David
SAPIEN Technologies, Inc.