Page 1 of 1

Edit Script Parameters not working

Posted: Wed Jun 17, 2020 12:38 am
by CermakPOI
Product: PowerShell Studio 2020 (64 Bit)
Build: v5.7.178
OS: Windows 10 Enterprise (64 Bit)
Build: v10.0.16299.0

*** Please add details and screenshots as needed below. ***
Hi,
There is something wrong with the functionality:
Edit Script Parameters

It doesn't read the existing Script Parameters!
I can reproduce this with all of my scripts.
if i edit and just enable CmdletBinding it creates this (will cascade if used multiple times.):
  1. [CmdletBinding()]
  2. param ()[CmdletBinding(DefaultParameterSetName = 'List',
  3.                SupportsShouldProcess = $true)]
  4. param
  5. (
So NO EDIT of EXISTING Parameters is possible.

Edit Function is still working as expected.

Re: Edit Script Parameters not working

Posted: Wed Jun 17, 2020 7:01 am
by brittneyr
Please try build 5.7.179 and let me know if you are still having issues.