Change Teams status using command

Copper Contributor

I am looking to create some automation around when my teams should go offline (not exit app/process) and when it should come online. For example, teams should go online at 9 am and go offline at 6 pm.

I am not able to find any way to change status via commands.

 

2 Replies
The intent of online is to let other users understand whether you are going to respond to a message or not. If you are actively using your computer, then it goes active. If you haven't used your computer, it goes inactive.
Having it set for a fixed time tends to invalidate what it is for.

I understand the point of view.
But the question still remains the same, Is there a command to achieve setting status or not?

 

Consider a scenario where a university student wants to use his laptop for course and personal use and he has teams from his university. If he wants to not be bothered by anyone while he is using the laptop off school time. He can use some automation to take teams offline as per a schedule.