1 like
·
915 reads
6 comments
Hello Ondrej, when trying your New-AzureAutomationModule example, I am getting the following error:
New-PSGetItemInfo : Cannot convert value "2.0.0-rc3" to type "System.Version". Error: "Input string was not in a correct format."
should be fixed in new 1.0.1 module version
Ondrej Sebela Ahoj Ondreji, I have just tried after updating to 1.0.1 and updating PowerShellGet module locally and it works nicely! Dekuji!
Ľuboš Nikolíni Super, diky :)
Ahoj Ondreji, I noticed the error message when using "-RuntimeVersion 7.1" parameter as you mentioned in the article (personally I do not need v7.1, but reporting in case you would like to have a look at it).
"New-AzAutomationModule : Cannot validate argument on parameter 'RuntimeVersion'. The argument "7.1" does not belong to the set "5.1,7.2" specified by the ValidateSet attribute. Supply an argument that is in the set and then try the command again."
Thats a funny thing. GUI shows it, but official commands (like Get-AzAutomationModule) don't support it :) So I will remove it too. Thanks for pointing this out