*** 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: PowerShell Studio 2020 (64 Bit)
Build: v5.7.174
OS: Windows 10 Enterprise (64 Bit)
Build: v10.0.18363.0
*** Please add details and screenshots as needed below. ***
Is there any plan for PSS to support dynamicparam. I see that question was kind of asked some time ago:
viewtopic.php?p=60862#p60862
- dynamicparam {
- if ($ScaleMethod -eq "AutoStatic") {
- $attThreashold = New-Object System.Management.Automation.ParameterAttribute
- $attThreashold.Mandatory = $true
- $attributeCollection = New-Object System.Collections.ObjectModel.Collection[System.Attribute]
- $attributeCollection.Add($attThreashold)
- $paramThreshold = New-Object System.Management.Automation.RuntimeDefinedParameter('Threshold', [Int], $attributeCollection)
- $paramDictionary = New-Object System.Management.Automation.RuntimeDefinedParameterDictionary
- $paramDictionary.Add('Threshold', $paramThreshold)
- return $paramDictionary
- }
- }
Thanks!!
DO NOT POST LICENSES, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM