Forum Discussion

shashi0621's avatar
shashi0621
Level 5
9 years ago

netbackup daily health check script

windows server : 2008 NBU : 7.6 Hi ALL, I am using below script to have my daily health check. SCRIPT: @ECHO OFF bperror  -problems | findstr /c:"ERR - failure reading file: Sys...
  • CB_NBU's avatar
    9 years ago

    In powershell...

     

    bperror  -problems | findstr /c:"WRN - can't open"  | % { $_.Split(" ") | select -first 13 | select -last 1}  | Sort | Get-Unique

     

     

    not the prettiest or most accurate.. but gives you a starting point.