I am using azure automation,
and have such a code
workflow Report { param ( [parameter(Mandatory=$True)] [string] $Name, [parameter(Mandatory=$true)] [Int] $MyCount ) inlinescript { Write-Verbose "Name $Name" Write-Verbose "Count $MyCount" } }
in the test panel (at https://portal.azure.com ) I set the following value for these parameters: "Test" and 2
In the console, I see the following result:
Name Test Count
$ Name working good
but $ mycount didn't show
According to the documentation, I am doing everything right
https://technet.microsoft.com/en-us/library/hh847743.aspx
How can I use int input parameter?
pasha source share