Skype: Difference between revisions

From Piszczynski
piszczynski>Aleks
No edit summary
piszczynski>Aleks
No edit summary
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 location of skype database:
*Get-CsConfigurationStoreLocation
*Get-CsConfigurationStoreLocation
 
----
== Getting Info on Users and Lines ==
== Getting Info on Users and Lines ==
Get list of all users and the assigned numbers:
Get list of all users and the assigned numbers:
*get-csuser | select DisplayName,LineUri | sort | out-file C:\temp\AllUsersLineURI.csv
*get-csuser | select DisplayName,LineUri | sort | out-file C:\temp\AllUsersLineURI.csv
 
----
Get list of all LineURI:
Get list of all LineURI:
*get-csuser | ? LineUri | select LineUri | sort | out-file C:\temp\AllLineURI.csv
*get-csuser | ? LineUri | select LineUri | sort | out-file C:\temp\AllLineURI.csv

Revision as of 12:47, 23 July 2021

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