How to add hashtable to multidimensional array? Cannot assign values via member-access enumeration
tl;dr Setting a key / property value via member-access enumeration is not supported (see below). Instead, you must obtain the specific object whose .Bücher property you want to modify explicitly: ($Data.BIBs.BIB1 | ? Bücher).Bücher += @{ BuchName=”neues Buch”; Autor=”Johann Doe” } Note: This assumes that: only one element of array $Data.BIBs.BIB1 has a .Bücher property … Read more