title: Powershell, checking new table for $null values
body: <p>I created a script to help us inventory our machines.  Its been sucessuful and in the end I create a Table and that object is exported to a CSV.</p>
  
  <p>A large handful of machines return no values from time to time (RPC Service Unavailable).  How would I go about checking to see if every value was returned?  If no values are turned, I want to add those machines to a separate list for troubleshooting.  What would be the most efficient way of checking?</p>
  
  <pre><code>$table = @{
  Model= $PCInfo.Model
  IEVersion = $ie.sValue 
  Serial = $Bios.SerialNumber
  Memory = $ram
  Department = $dp.Department
  DriveFreeSpaceGB = $freespace
  Manufacturer = $PCInfo.Manufacturer
  OSName = $WinInfo.Caption
  Computer = $computer
  Uptime = $formattime
  LastloggedinUser = $Uname.name
  LastLoggedinDate = $loggedintime
  LoggedOnDuringScan = $PCInfo.Username
  ServicePack = $WinInfo.ServicePackMajorVersion
  Online = $Online
      } 
  New-Object PSObject -Property $table | Export-Csv C:\logs\ADInventory\ADInventory.csv -NoTypeInformation -Append
  }
  </code></pre>