diff --git a/reference/docs-conceptual/learn/deep-dives/everything-about-pscustomobject.md b/reference/docs-conceptual/learn/deep-dives/everything-about-pscustomobject.md index 013e411e3cc5..96be063bdccb 100644 --- a/reference/docs-conceptual/learn/deep-dives/everything-about-pscustomobject.md +++ b/reference/docs-conceptual/learn/deep-dives/everything-about-pscustomobject.md @@ -1,7 +1,7 @@ --- description: PSCustomObject is a simple way to create structured data. ms.custom: contributor-KevinMarquette -ms.date: 06/07/2023 +ms.date: 10/11/2023 title: Everything you wanted to know about PSCustomObject --- # Everything you wanted to know about PSCustomObject @@ -129,6 +129,10 @@ We can get this same list off of the `psobject` property too. $myobject.psobject.properties.name ``` +> [!NOTE] +> `Get-Member` returns the properties in alphabetical order. Using the member-access operator to +> enumerate the property names returns the properties in the order they were defined on the object. + ### Dynamically accessing properties I already mentioned that you can access property values directly.