TeamViewer.exe info <ID> - get online status

Hi

Wie need to get the info if a Client is available by using the CLI.
is there a way to do that? For a certain time

TeamViewer.exe info <ID

seems to be the solution, but thais does not work any more. If there any way to get the wished infos inside a bash without the gui (ID and pwd are available)?