Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Skype With Credentials Via Powershell

Options
  • 04-04-2016 10:17am
    #1
    Registered Users Posts: 263 ✭✭


    HI Guys,

    Looking for some advice on starting Skype as different users using powershell. I know the Get-Credential command will allow me to get a users credentials but is there a way that anyone knows of to pass this to an Application (Skype for business in this case)

    Cheers
    Dpjmie


Comments

  • Moderators, Arts Moderators, Regional Abroad Moderators Posts: 11,016 Mod ✭✭✭✭Fysh


    You can enter a Skype For Business Online session with PowerShell as documented here (Technet), but I don't think that's what you want.

    It has also been possible to launch Skype from the command line and supply the username & password as parameters, so you could easily do that in PowerShell (rather than using Get-Credential you could just use Read-Host to prompt the user for username and password, though you'd probably want to use the -AsSecureString parameter for the password, then pipe it through ConvertFrom-Securestring when you actually launch Skype). However, I've not tried this with a Microsoft Account (as opposed to an original Skype account) and what I've seen from some brief reading around suggests that it's either not possible or non-intuitive...


Advertisement