ironmansoftware / universal-automation

Universal Automation is the PowerShell-first automation platform.
https://ironmansoftware.com/universal-automation/
MIT License
24 stars 4 forks source link

Script Parameters tab #54

Closed mattmcnabb closed 4 years ago

mattmcnabb commented 4 years ago

Describe the Issue

I'm getting an error on the Parameters tab for a script:

image

I'm not sure what's causing this, but it happens on any script that has parameters defined.

Version Information

leeberg commented 4 years ago

Hey @mattmcnabb could you please post your example script? I have tried a few example scripts with params and all seems OK. I am thinking there may be certain parameter type that is failing

mattmcnabb commented 4 years ago

yeah, it happens for this script:

[CmdletBinding()]
param (
    [Parameter()]
    [string]
    $Parameter1
)

$Parameter1
adamdriscoll commented 4 years ago

Looking good now.

image