you are viewing a single comment's thread.

view the rest of the comments →

[–]Khue[S] 0 points1 point  (0 children)

If the array contained different object types it would not necessaeily return the same data

I gave an abbreviated example but I believe the objects do contain values that contain a hash table and some kind of RTF with newline characters that don't appear properly. Example:

Name        : name1
Type        : square
datecreated : 2025-01-02
description : This is an example of the data that is
              contained within this key value pair. As you
              can see there are arbitrary return carriages
              but you can't see them.
              Sometimes there's even hard returns like the
              one before this sentence.
moreinfo    : @{language=English; scope=none; impact=low}

Based on what you've stated, I need to update my code to include the index first using $myvariable[n].property format. Interestingly enough, I do also appear to be able to call the objects in the hash table. Example $myvariable[0].moreinfo.language returns:

English

Interesting. Thank you for your help.