I am running a dos command in PowerShell and getting the correct output. But I want to capture and process the output.
Example:
PS:>cmd.exe bpclimagelist.exe -t FULL
Backed Up Expires Files KB C Sched Type Policy
---------------- ---------- -------- ----------- - --------------- ------------
08/25/2018 00:03 11/25/2018 179940 88589741 N Full Backup WIN-01
I want to get backup dates from the table listed. Is there any way to achieve it ?