Hi, I wrote advanced function with mandatory parameter but when I hover mouse over function's name that parameter is displayed as optional (between square brackets). How to solve this since it can be very misleading?
SAPIEN PowerShell Studio 2017 5.4.145 x64
Windows 10 Pro x64
Advanced Function parameter syntax issue
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.
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.
Advanced Function parameter syntax issue
- Attachments
-
- MandatoryParameterShownAsOptional.png (6.38 KiB) Viewed 14883 times
Re: Advanced Function parameter syntax issue
Thank you for reporting this issue. It is a bug and it will be resolved in the next service release.
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: Advanced Function parameter syntax issue
Similar bug applies to any core cmdlet (in example below for parameter Path of Add-Content cmdlet):
Path parameter is required and positional so info above is wrong too. It should have been displayed true for required and 0 for position.
However information about cmdlet itself is correct - Path parameter is required and positional (name of parameter can be omitted).
Path parameter is required and positional so info above is wrong too. It should have been displayed true for required and 0 for position.
However information about cmdlet itself is correct - Path parameter is required and positional (name of parameter can be omitted).
Re: Advanced Function parameter syntax issue
Thank you, we are investigating.
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: Advanced Function parameter syntax issue
We found the issue and it will be resolved in the next service release.
Thank you once again for reporting this.
Thank you once again for reporting this.
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.