title: Create Custom PSObject PowerShell 2.0
body: <p>Is it possible to create a Custom Object (PSObject) and define its properties beforehand and later in the program execution, we keep adding array of values to the object.</p>
  
  <p>For e.g;</p>
  
  <pre><code>$c = @()
  
  $c = New-Object PSObject
  $c | Add-Member -type NoteProperty -name Name 
  $c | Add-Member -type NoteProperty -name Gender
  $c | Add-Member -type NoteProperty -name Age
  
  
  $c | Add-Member -type NoteProperty -name Name -value "John"
  $c | Add-Member -type NoteProperty -name Gender -value "Male"
  $c | Add-Member -type NoteProperty -name Age -value "30"
  </code></pre>
  
  <p>Thanks in advance for any leads or advice.</p>