I recently installed Lync Server 2013 on a Windows Server 2012R2 for the first time.
Although everything worked just as before I noticed that Lync Server Management Shell would not start – it would just hang with a blank window without the prompt. No error or indication as to what might be the problem.
To get around it I simply launched the “regular” PowerShell and ran a import-module lync
cmdlet. After this “Lync PowerShell” can be used just like before.
NeWay Technologies – Weekly Newsletter #81 – February 7, 2014 | NeWay
When you run the database update in this Shell the original Management shell will work again! See my post: http://ucblog.deutinger.de/?p=343
Johann, thanks for the comment. 🙂
Running ANY Lync commandlet (i.e. Get-CsUser) will do exactly the same, as this implicitly (as of PowerShell v3) will import the Lync management module. No need to update the database and the real deal is anyhow the import of Lync server PS module, which is why I underlined that instead of suggesting running specific Lync commandlets.
Brgds,
Rune
I have been staring at the management shell waiting for a prompt, but nothing. You saved me with this. Thank you!!!
Check the shortcut to the Lync Management Shell. It will be missing a quote/apostrophe at the end of the string. AFAIK this only occurs on Server 2012 R2.
Thanks Kevin, I bet this is much simpler solution then anyone else.
Thanks so much for this blog post. However Kevin is correct also. I tried adding the quote sign ” at the end of the Lync Management Shell shortcut and this fixes the problem!
Thanx….
You just made my day! Thank you!