title: Powershell - how do I edit an existing property in a custom object
body: <p>I looking for way how update noteproperty in existing psobject, for example I have system.array of psobjects ($a): </p>
  
  <pre><code>Group                                Assigment
  -----                                ---------
  Group1                               Home
  Group2                               Office
  </code></pre>
  
  <p>Question is how update 'Home' to something other. </p>
  
  <p>$a | gm:</p>
  
  <pre><code>TypeName: System.Management.Automation.PSCustomObject
  
  Name        MemberType   Definition
  ----        ----------   ----------
  Equals      Method       bool Equals(System.Object obj)
  GetHashCode Method       int GetHashCode()
  GetType     Method       type GetType()
  ToString    Method       string ToString()
  Assigment   NoteProperty System.String Assigment=Office
  Group       NoteProperty System.String Group=Group1
  </code></pre>
  
  <p>$a.GetType():</p>
  
  <pre><code>IsPublic IsSerial Name                                     BaseType
  -------- -------- ----                                     --------
  True     True     Object[]                                 System.Array
  </code></pre>
  
  <p>Thank you for future help.</p>