mrobinson-ws
mrobinson-ws
I was thinking it had to do with that. It ends up creating that "subobject" (for lack of a better term) as a pscustomobject, even in it's own pulled data,...
Ok, I've updated the relevant block to as shown below: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [array]$AssetTraits = $asset.data.attributes.traits | Get-Member | Where-Object {$_.MemberType -eq "NoteProperty"} for ($i = 0; $i -lt $AssetTraits.Count; $i ++)...
Using the changes in the latest code (copied manually from the site) I get  This is lines 47 and 50 having [Nullable[String]] Replaced by [String] as the current code...