In this post, we will make a 1-to-1 call in Microsoft Teams using PowerShell. This is helpful for any automation where you need to remind the user about something.
- Microsoft Teams desktop application should be installed and logged in.
Below written code would be useful to initiate a one to one MS Teams call using PowerShell.
start callto:<emailId> Start-Sleep -s 5 #sleep for 5 seconds $wshell = New-Object -ComObject wscript.shell; $wshell.SendKeys('~') #Sends 'Enter' Keystroke
Give the correct email id existing in your teams contacts and run the above code.
It will open up below dialog box in MS Teams app and after 5 seconds will hit ‘Enter’ automatically and initiate the call.
You must be logged in to post a comment.