Skype: Difference between revisions

From Piszczynski
piszczynski>Aleks
m (13 revisions imported)
 
(4 intermediate revisions by one other user not shown)
Line 7: Line 7:
Check autodiscover settings:
Check autodiscover settings:
*Get-CsOAuthConfiguration
*Get-CsOAuthConfiguration
 
----
Manage all Skype services on skype server:
Manage all Skype services on skype server:
*Start-CsWindowsService
*Start-CsWindowsService
*Get-CsWindowsService
*Get-CsWindowsService
*Stop-CsWindowsService
*Stop-CsWindowsService
 
----
Get info on logging:
Get info on logging:
*Get-csclsconfiguration
*Get-csclsconfiguration
*Show-csclslogging
*Show-csclslogging
*logman (gets current logging traces)
*logman (gets current logging traces)
 
----
Check the clustermanifest.xml file in programfiles\skypeforbusiness\server\core for details on retention time
Check the clustermanifest.xml file in programfiles\skypeforbusiness\server\core for details on retention time
 
----
Get details on state of fabric of skype pool:
Get details on state of fabric of skype pool:
*Get-Cspool (to get the fqdn of pool to query)
*Get-Cspool (to get the fqdn of pool to query)
*Get0CsPoolFabricState -PoolFqdn "<fqdn of pool>"
*Get0CsPoolFabricState -PoolFqdn "<fqdn of pool>"
 
----


Set meeting config - this can be useful if users are joining meetings when they are not set to private due to duplicate conference IDs - This can be changed by user in skype meeting options in outlook when scheduling a meeting  
Set meeting config - this can be useful if users are joining meetings when they are not set to private due to duplicate conference IDs - This can be changed by user in skype meeting options in outlook when scheduling a meeting  
Line 30: Line 30:
*eg: set-csmeetingconfiguration -identity global -assignedconferencetypebydefault $false
*eg: set-csmeetingconfiguration -identity global -assignedconferencetypebydefault $false


 
----
Test database connection:
Test database connection:
*Test-CsDatabase -CentralManagementDatabase
*Test-CsDatabase -CentralManagementDatabase
 
----
Invoke failover to reboot skype server without affecting service:
Invoke failover to reboot skype server without affecting service:
*Invoke-CsComputerFailover
*Invoke-CsComputerFailover
use Get-CSWindowsService to check number of conferences on the system until they are 0
use Get-CSWindowsService to check number of conferences on the system until they are 0
 
----
Resume function of server after failover:
Resume function of server after failover:
*Invoke-CsComputerFailback
*Invoke-CsComputerFailback
----
Get location of skype database:
*Get-CsConfigurationStoreLocation
----
== Getting Info on Users and Lines ==
Get list of all users and the assigned numbers:
*get-csuser | select DisplayName,LineUri | sort | out-file C:\temp\AllUsersLineURI.csv
----
Get list of all LineURI:
*get-csuser | ? LineUri | select LineUri | sort | out-file C:\temp\AllLineURI.csv
==Certificate Replacement==
Can use the deployment tool to replace the skype certificate.
When replacing the certificate on the edge servers you will need to re-bind the certificate for the "AudioVideoAuthentication" service as this uses the internal skype certificate and for some reason the deployment tool assigns the external CA signed certificate to this service automatically.
Use the following command:
*Set-CsCertificate -Type AudioVideoAuthentication -Thumbprint <Thumbprint of internal cert> -Verbose
Then start the services:
*Start-CsWindowsService

Latest revision as of 22:32, 15 November 2023

Skype for Business

Get skype client config by ctrl + right clicking on skype icon and selecting Configuration information


Check autodiscover settings:

  • Get-CsOAuthConfiguration

Manage all Skype services on skype server:

  • Start-CsWindowsService
  • Get-CsWindowsService
  • Stop-CsWindowsService

Get info on logging:

  • Get-csclsconfiguration
  • Show-csclslogging
  • logman (gets current logging traces)

Check the clustermanifest.xml file in programfiles\skypeforbusiness\server\core for details on retention time


Get details on state of fabric of skype pool:

  • Get-Cspool (to get the fqdn of pool to query)
  • Get0CsPoolFabricState -PoolFqdn "<fqdn of pool>"

Set meeting config - this can be useful if users are joining meetings when they are not set to private due to duplicate conference IDs - This can be changed by user in skype meeting options in outlook when scheduling a meeting

  • get-csmeetingconfiguration (to get settings)
  • set-csmeetingconfiguration (to set settings)
  • eg: set-csmeetingconfiguration -identity global -assignedconferencetypebydefault $false

Test database connection:

  • Test-CsDatabase -CentralManagementDatabase

Invoke failover to reboot skype server without affecting service:

  • Invoke-CsComputerFailover

use Get-CSWindowsService to check number of conferences on the system until they are 0


Resume function of server after failover:

  • Invoke-CsComputerFailback

Get location of skype database:

  • Get-CsConfigurationStoreLocation

Getting Info on Users and Lines

Get list of all users and the assigned numbers:

  • get-csuser | select DisplayName,LineUri | sort | out-file C:\temp\AllUsersLineURI.csv

Get list of all LineURI:

  • get-csuser | ? LineUri | select LineUri | sort | out-file C:\temp\AllLineURI.csv

Certificate Replacement

Can use the deployment tool to replace the skype certificate.

When replacing the certificate on the edge servers you will need to re-bind the certificate for the "AudioVideoAuthentication" service as this uses the internal skype certificate and for some reason the deployment tool assigns the external CA signed certificate to this service automatically.

Use the following command:

  • Set-CsCertificate -Type AudioVideoAuthentication -Thumbprint <Thumbprint of internal cert> -Verbose

Then start the services:

  • Start-CsWindowsService