12700261c73d09fccadb319b8749f4e8a631eb19
Critical fixes for false negatives in DR test reporting: 1. Database verification fix: - Changed from 'findstr' (CMD) to 'Select-String' (PowerShell native) - findstr was failing in PowerShell context causing db_status to be empty - Result: DB with 42,625 tables was incorrectly reported as FAILED 2. Restore log collection fix: - Changed from 'type' (CMD) to 'Get-Content' (PowerShell native) - type command doesn't work through SSH PowerShell context - Added -ErrorAction SilentlyContinue for cleaner error handling - Simplified fallback logic using [-z] instead of string matching Both issues were caused by mixing CMD commands in PowerShell context. Now uses PowerShell-native commands throughout for consistency. Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Description
No description provided
Languages
Shell
54.2%
PowerShell
18.5%
PLSQL
12%
Batchfile
11.1%
Python
4.2%