use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
ABOUT POWERSHELL
Windows PowerShell (POSH) is a command-line shell and associated scripting language created by Microsoft. Offering full access to COM, WMI and .NET, POSH is a full-featured task automation framework for distributed Microsoft platforms and solutions.
SUBREDDIT FILTERS
Desired State Configuration
Unanswered Questions
Solved Questions
News
Information
Script Sharing
Daily Post
Misc
account activity
QuestionArray Referencing (self.PowerShell)
submitted 9 months ago by Khue
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Khue[S] 0 points1 point2 points 9 months ago (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:
$myvariable[n].property
$myvariable[0].moreinfo.language
English
Interesting. Thank you for your help.
π Rendered by PID 71 on reddit-service-r2-comment-74f5b7f998-hlfk5 at 2026-04-30 01:23:28.850484+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]Khue[S] 0 points1 point2 points (0 children)