Skype Automation in Powershell : Don’t have to dial in conference codes anymore
May 26, 2009
For teams located in different locations conference calling is a must. Most of these calling facilities have toll free 1-800 dial in numbers. Skype lets you dial in to the toll free 1-800 numbers without any cost. One annoying thing with these conference calls is that you have to dial in a pin code to enter. If you are dialing in to one conference only then you memorize it. But if you have to dial in several different conferences calls in a day it becomes a pain. You would probably have to lookup the outlook calendar entry and type it in, which is quite annoying and distracting. Recently I have been trying to do everything with Powershell. As you have guessed … … now we can dial into a Skype meeting with one powershell command.
You can download the powershell script : Download skype.ps1 (5.2K)
I just wrote a function ( just bare minimum, no error handling ) that calls a Skype contact or a phone number waits for certain time then enters the pin as DTMF codes. I have the different meeting and number to different functions which calls this function. And now I can get into any meeting without hassle.
The function is called Call-SkypeContactSendDTMF. The first parameter can be a skype contact name or a saved phone only contact or a number to dial. The second parameter is the number of seconds to wait after the phone has been picked up by the conference bot. The third parameter is the DTMF codes. You can add pause by putting in “@” to pause for a second. Here is the calling syntax
Call-SkypeContactSendDTMF (ConferenceNo, SecondsTOWait, DTMFCodes)
So I have created different entries from the meetings like this
function call-conf1()
{
Call-SkypeContactSendDTMF ("ConfNo",10,"7363784394#")
}
All I have to do is type in call-conf1 like this
call-conf1
I love powershell. Hope this helps someone.
btw: When executing this script remember that we want the function to stay in memory so you can either put this in the powershell profile or you can call it in the same context by adding a “. ” to it.