Closed tcase closed 6 years ago
Ordered exists from 3.
@majkinetor, i also faced same issue, solved it by upgrading powershell to version 5.1 (Server 2012 R2)
maybe there is some other dependency that is solved by the install of Windows Management Framework 5.1
I'm going to fix the title here to something less presumptuous
[ordered]
has indeed been existing since PowerShell 3.0 but can only be used to declare an OrderedDictionary
, not to cast a hashtable. And I don't know why, but PS 5.0 considers AU does some casts here... Fixing this by replacing [ordered]
by [System.Collections.Specialized.OrderedDictionary]
to make AU work even on PowerShell 5.0.
Fixed.
Got this error message:
After upgrading from 5.0 to 5.1 no more issues, just need to update documentation to reflect that