Quick Skype for Business/Lync UI Switcher

Ready to start using Skype for Business, but need to keep Lync 2013 around? Got updated to Skype for Business, but miss Lync? Use these PowerShell functions to switch between the UIs quickly.

 
 
 
 
 
5 Star
(3)
2,979 times
Add to favorites
Lync
4/21/2015
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • Correction
    2 Posts | Last post September 26, 2017
    • ... Win7 Enterprise SP1 x64 ...
    • ... what went wrong? And for sure how can I solve my issue?
  • Error appears
    1 Posts | Last post September 26, 2017
    • Hi Mandie,
      I did an import (Import-Module -Name C:\Temp\QuickSkypeUISwitch.ps1) within my powershell_ise.exe (1.0), what worked fine. But with next command Enable-SkypeUI I failed:
      ...
      Start-Process : Cannot validate argument on parameter 'FilePath'. The argument is null or empty. Supply an argument that is not null or empty and then try the command again.
      At C:\Temp\QuickSkypeUISwitch.ps1:45 char:32
      +         Start-Process -FilePath <<<<  $lyncProcess.Path
          + CategoryInfo          : InvalidData: (:) [Start-Process], ParameterBindingValidationException
          + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.StartProcessCommand
      ...
      
      I´m local admin on my Win7 Pro SP1 x64 client. Can you please tell me what went wrong?
      
      Kind regards, Tom
      
  • Restart-SkypeForBusiness function bug
    2 Posts | Last post April 17, 2015
    • Should be $lyncProcess.Path, not FilePath, at least in my Win8.1 system.
    • Hi Phil,
      
      That's what I have in the script... the full name of the parameter in Start-Process is -FilePath (what I use in the script with value $lyncProcess.Path), but Start-Process -Path is interpreted as the same thing in PS 4.0 (and possibly others) - is that what you meant?