title: Wbadmin & powershell - latest backup version identifier
body: <p>I need to get the latest backups version identifier in a powershell script.  If I run wbadmin get versions, I get a list of backups and the last one is the one I need.  </p>
  
  <p>Is there a way to do a kind of <code>select top 1 version identifier from backups order by date</code> or parsing the wbadmin output and getting this.</p>
  
  <p><strong>edit</strong></p>
  
  <p>It may be the windows.serverbackup module and versionId of Get-WBBackupSet I'm looking for but still need help parsing this.</p>
  
  <pre><code>VersionId        : 04/17/2013-21:00
  BackupTime       : 17/04/2013 22:00:55
  BackupTarget     : U:
  RecoverableItems : Volumes, SystemState, Applications, Files, BareMetalRecovery
  Volume           : {System Reserved, Local disk (C:), Local disk (I:), Local disk (O:)...}
  Application      : {"Cluster", "Registry", "Microsoft Hyper-V VSS Writer"}
  VssBackupOption  : VssFullBackup
  SnapshotId       : 58999c7d-dfbf-4272-a5b9-21361d171486
  </code></pre>