Get-WBSummary returns 0 for LastBackupResultDetailedHR and for LastBackup ResultHR
i'm running get-wbsummary in powershell gather information on whether or not windows backup successful or not. though backup successful, wbsummary returns 0 lastbackupresultsdetailedhr , lastbackup resultshr. should return 1 if backup successful. why get-wbsummary return 0 when backup 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
hello,
probably can seek in concerning scripting forums:http://social.technet.microsoft.com/forums/en-us/itcg/threads
regards, ravikumar p
Windows Server > Windows Server General Forum
Comments
Post a Comment