Recently I have started carrying out my Lync 2013 installs on to Windows Server 2012 R2 and have noticed a strange issue from time to time.When I open the Lync Management Shell (PowerShell) from the start menu, the command window opens but I never get a prompt displayed, it just sits there as a blank window, forever!
This is all very odd, I checked the properties of the shortcut so I could check the module being loaded and run it manually. Remember that the start menu is now located here; C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Lync Server 2013I copied the string out of the target and ran it in a ‘normal’ PowerShell only to be returned not the expected prompt but the >> prompt for further input, odd indeed.When I looked at the string in a little more detail I noticed that there was a missing closing double quote. So I ran the process again but added the ” at the end, low and behold I got my command prompt and all my Lync Cmdletts.So a quick edit to the Lync Management Shell shortcut from thispowershell.exe -noexit -command “cd $env:UserProfile; Import-Module ‘C:\Program Files\Common Files\Microsoft Lync Server 2013\Modules\Lync\Lync.psd1′to thispowershell.exe -noexit -command “cd $env:UserProfile; Import-Module ‘C:\Program Files\Common Files\Microsoft Lync Server 2013\Modules\Lync\Lync.psd1′”means that it loads every time.I am assuming that this is a Windows Server 2012 R2 ‘bug’ as I have never seen it before however it does not always seem to manifest its self as in my last install it happened on only two out of three front end servers.
Browse latest info tech news and developments
Our blog publishes bite-sized IT focused articles that offer an easy-to-read insight into ways you can improve your business, communication and operation.
Showcasing developments in the IT industry, practical advice, and time and money saving tips, it’s worth subscribing to stay up to date with the news that matters.