How about getting rid of all those Backups that has failed? They are just sitting there doing nothing useful anyway. Here is what my Backup and Restore History page looks like… What this gives me is a bunch of SPHistoryObject that have failed: $xmldata = [xml](Get-Content 'C:\SPBackup\spbrtoc.xml') $xmldata.SPBackupRestoreHistory.SPHistoryObject | Where-Object {$_.SPErrorCount -gt '0'} Now let’s store it in the variable $BadBackups and clean it … $BadBackups | % { $xmldata.SPBackupRestoreHistory...(read more)
↧