title: Listing Superseded Updates using powershell in WSUS 3
body: <p>I am trying to automate the process of managing WSUS reports. I managed to 
  I) report the updates that I approve to WSUS console.
  II) run a cleanup Process for the superseeding </p>
  
  <p>So the script I use to list approved updated updates is:</p>
  
  <pre><code>$updatescope = New-Object Microsoft.UpdateServices.Administration.UpdateScope
  $updatescope.ApprovedStates = [Microsoft.UpdateServices.Administration.ApprovedStates]::LatestRevisionApproved
  $updatescope.FromArrivalDAte = [datetime]"10/08/2013"
  $wsusgroup = $wsus.GetComputerTargetGroups() | Where {$_.Name -eq "PCM_WSUS_spec"}
  $updatescope
  $updatescope.gettype()
  $updatescope.count
  $updateScope.ApprovedComputerTargetGroups.add($wsusgroup)
  $wsus.GetUpdates($updatescope) | Select KnowledgebaseArticles,Title
  $Updates = $wsus.GetUpdates($updatescope) | Select KnowledgebaseArticles
  </code></pre>
  
  <p>What I really need is a function to list of the updates went superseded based on the aboce list; updates that got approved after the given date.</p>
  
  <p>Any ideas?</p>