Friday 16 December 2022

Powershell command to get output of EV users based on the country they belong if they were assigned with DID

 Get-CsOnlineUser | where-object {($_.LineURI -ne $null) -and ($_.EnterpriseVoiceEnabled -eq $true) -and ($_.Department -ne "Microsoft Communication Application Instance")} | Sort-Object Dialplan | ft DisplayName,LineURI,DialPlan,City,Department

Thursday 14 June 2018

Lync/Skype4B Certificate Store Validation



Check #1 - Misplaced certificates in Trusted Root CA
Check #2 - Duplicates in Trusted Root CA
Check #3 - More than 100 certificates in Trusted Root CA
Check #4 - Root CA certificates in Personal Store
Check #5 - Duplicated Friendly Name
Check #6 - Misplaced Root CA certificates in Intermediate CA store (Suggested in the comments)


Get-Childitem cert:\LocalMachine\root -Recurse | Where-Object {$_.Issuer -ne $_.Subject} | Select Issuer, Subject, Thumbprint | fl

Get-Childitem cert:\LocalMachine\root | Group-Object -Property Thumbprint | Where-Object {$_.Count -gt 1} | Select-Object -ExpandProperty Group | Select FriendlyName, Issuer, Subject, Thumbprint | fl

Get-Childitem cert:\LocalMachine\root | Measure

Get-Childitem cert:\LocalMachine\my -Recurse | Where-Object {$_.Issuer -eq $_.Subject} | Select FriendlyName, Issuer, Subject, Thumbprint | fl

Get-Childitem cert:\LocalMachine\my | Group-Object -Property FriendlyName | Where-Object {$_.Count -gt 1} | Select-Object -ExpandProperty Group | Select FriendlyName, Issuer, Subject, Thumbprint | fl

Get-ChildItem Cert:\localmachine\CA | Where-Object {$_.Issuer -eq $_.Subject} | Select Issuer, Subject, Thumbprint | fl

Wednesday 2 March 2016

Skype meeting add-in not getting enabled in Outlook after a restart

Solution to issue:

  1. Exit Outlook if it is running.
  2. Press the Windows function key, search for "regedit," and then click OK.
  3. In Registry Editor, locate the following subkey:

    HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\Addins\UcAddin.LyncAddin.1
  4. In the details pane, double-click LoadBehavior. If the value in the Value data box is not 3, change it to 3 and then click OK.
  5. Exit Registry Editor.
  6. Start Outlook.

How to delete a Skype contact from Skype for Business Contacts folder

If you are unable to delete a Skype contact from Skype Client
Then you can delete the contact by following below procedure



-          Exit from Skype Client & Outlook
-          Login to OWA
-          From Contacts folder, you can select and remove the particular contact whom the user want to delete