Powershell Tip #127: Wait for EMC Avamar Backup to be completed
Tip: You need to wait until the EMC Avamar Backup client finishes the backup. An easy way to do that is to check if the processes avtar and avvss are running.
1 2 3 4 |
do { Start-Sleep -Seconds 1 } while (Get-Process -Name avtar, avvss -ErrorAction SilentlyContinue) |