I'm not able to identify the commandlet combination to filter last backup job states for objects, where the authentication for windows or ssh failed - so the job state is "warning" or "error".
google gemini wasn't clever enough.

After filtering these objects, the game in the script should be to assign a new VM tag to these VMs.
I'm managing the authentication by VM tags.
Thank You!
Stefan