Here is similar in pwsh, it retries script block while exception is thrown, until no exception or timeout:
https://github.com/majkinetor/posh/blob/master/MM_Sugar/Wait...
https://github.com/majkinetor/posh/blob/master/MM_Sugar/Wait...
No comments yet.