How to wait for job completion in Varonis PowerShell?

Introduction In general, many cmdlets are returning a command id, which can be then used to test if the process completed or not. Example cmdlets that do that – Add-FileServer, Set-FileServer and similar for probes, collectors and domains. Also Start-VaronisJob does the same. Checking for completion and errors To test if the job has completed, pass the result of those ...