Skip to main content

Lync Server Management Shell doesn’t show PROMPT


Issue: Lync Server Management Shell doesn’t show PROMPT.
Problem Statement:
Recently I have noticed on my Lync Front End Server, Prompt is missing on Lync Management shell.
When I open Lync Management Shell and I was unable to see Prompt on Shell. I have Windows 2012 R2 with latest updates, Lync Server 2013 with latest CU and installation directory on C Drive.
Also all Lync server prerequisite installed properly and all Lync Services are functioning as expected. Means there is no issue from Lync Server side however something is missing on Lync PowerShell directory.
Resolution:
Earlier Lync Management Shell was showing PROMPT however recently it is not showing PROMPT.
I have checked Services, event viewer however have not found any issue. Still Prompt is not showing on Lync Management Shell.  
 
When I checked Lync Management shell application path then I found the issue there (“) double quotation mark is missing while ending the Target path.
Follow the below steps to resolve the issue.
1.     Login on Lync FE server > Click on Search and type ‘Lync Management Shell’ and right click on Lync Management Shell > Click on Open File Path, and on Path (C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Lync Server 2013\)

You will see Shortcuts, now you need to right click on the Lync Server Management Shell and open properties under Shortcut tab, next to Target see the PowerShell application path  where you will see (“) quotation mark is mission under Target path directory.

2.     Open Command Prompt and go to the PowerShell Directory. i.e. C:\Windows\system32\WindowsPowerShell\v1.0> and then Run then below command to add the double quotation mark. 

C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "cd $env:UserProfile; Import-Module 'C:\Program Files\Common Files\Microsoft Lync Server 2013\Modules\Lync\Lync.psd1'    
 
 
3. Now time to open Lync Management Shell and see the prompt.

Now you try to run any Lync command.

 

 Thank you.

Comments

Popular posts from this blog

Outlook Add-in for Skype meeting getting disable after restarting Outlook.

Issue: Outlook Add-in for Lync meeting getting disable after restarting Outlook.
Problem Statement: Outlook Add-ins gets install automatically when Office 2013 installs (Lync and Skype for Business clients are part of Office package). Add-ins name is Lync Meeting Scheduling Outlook Addin or Skype meeting Add-in for Microsoft Office 2013. Sometime if other add-ins conflict with Outlook add-ins then outlook add-in keep getting disabled. And user has to enable it manually after Outlook restarts. 
Resolution: By default Lync Meeting Scheduling Outlook Addin or Skype Meeting Add-in for Microsoft Office 2013 installs wit load behavior "Load at Startup". However due to some conflict users Lync or Skype add-ins load behavior get changed to loaded instead of "Load at Startup" had to re-enable Lync Meeting Add-In in each time Outlook 2013 was started as it was not set to "Load at Startup". Look at the below screenshot. Now question is how we can change load behavior …

Unable to share desktop in Skype for Business?

Unable to share desktop in Skype for Business?
You can show your entire desktop or just a program to everyone in a Skype for Business Meeting, call, or instant messaging (IM) conversation. However sometime this feature does not work and give different errors.  Error message: ·Cannot start Desktop/Application Sharing due to network issues. ·An error occurred during the screen presentation. Resolution: There are multiple thing which may affect application/desktop sharing. 1.Make sure application / desktop sharing enabled on Skype for Business / Lync Server. SfB /Lync Control Panel > Conferencing > Conferencing policy > select Global or create new policy and set enable ‘Enable application and desktop sharing’. Refer below image. 2.Make sure your Skype for Business (Lync) client is updated with latest cumulative updates. Download latest update Skype (Lync) client. 3.Update your Video and Display drivers. a.Go to Start > Control panel. b.Search for Device Manager, and then open it. c.Find V…

Unable to login to Skype for Business client?

Unable to login to Skype for Business client? In order to sign-in on Skype (Lync) you must have login credential provided to you from your organization. ·Sign-in address: bilag@orgname.com ·User name: orgname\bilag ·Password: ************
Note: Orgname.com is my SIP domain name. Here are the most common mistake people make while sign-in on Skype for Business (Lync).
1.If you have login credential however still unable to sign-in then make sure you are putting proper login credential. Below error shows when you are wrong entering your sign-in address:
2.If you are writing correct Sign-in address however getting DNS error then contact administrator/ Support team there may be a DNS resolution or configuration issue. Administrator need to verify the SfB (Lync) AutoDiscover DNS records. 3.Sometime users password may expired/ lockout: Make sure that you password is not expire and lockout. If yes then call to helpdesk and reset your password / unlock. 4.Make user to have updated Skype for Business cli…