Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 600 Bytes

File metadata and controls

17 lines (10 loc) · 600 Bytes

Array as PSObject

Fixed in v6

If an array is assigned to a variable declared as [PSObject] and this variable is piped to ConvertTo-Json then the result JSON does not represent the original array. It is some sort of wrapper around it.

Scripts