Get-WBSummary returns 0 for LastBackupResultDetailedHR and for LastBackup ResultHR
I'm running Get-WBSummary in Powershell to gather information on whether or not the Windows Backup was successful or not. Even though the backup is successful, the WBSummary returns 0 for LastBackupResultsDetailedHR and for LastBackup ResultsHR.
It should return a 1 if the backup is successful. Why would the Get-WBSummary return 0 when the backup is successful?
PS C:\Users\administrator.SOUTHTECH> Get-WBSummary
NextBackupTime : 6/20/2012 8:00:00 PM
NumberOfVersions : 11
LastSuccessfulBackupTime : 6/19/2012 8:00:13 PM
LastSuccessfulBackupTargetPath : \\stsconnect\STS08SP System State Backup
LastSuccessfulBackupTargetLabel :
LastBackupTime : 6/19/2012 8:00:13 PM
LastBackupTarget :
\\stsconnect\STS08SP System State Backup
DetailedMessage :
LastBackupResultHR : 0
LastBackupResultDetailedHR : 0
CurrentOperationStatus : NoOperationInProgress
June 20th, 2012 3:19pm
Hello,
Probably you can seek help in concerning scripting forums:http://social.technet.microsoft.com/Forums/en-US/ITCG/threadsRegards, Ravikumar P
Free Windows Admin Tool Kit Click here and download it now
June 20th, 2012 5:08pm