Client

This article describes how similar results as that of the Client menu item in the legacy Control Panel can be achieved using cmdlets.

This article describes the following sub-menus :

Client Version Policy

The CLIENT VERSION POLICY sub-menu item under Client menu returns information about the clients supported in Skype for Business Server environment. A client version policy enables you to specify those clients who can sign in to Skype for Business Server system.

Let us consider the various tasks a user can do on CLIENT VERSION POLICY, and the Skype for Business cmdlets those tasks map to.


Scenario 1: List all the client version policies

List Client Version Policy

Cmdlet

Get-CsClientVersionPolicy

Example

 Get-CsClientVersionPolicy

Scenario 2: Create a new client version policy

New Client Version Policy

Cmdlet

New-CsClientVersionPolicy

Example

 New-CsClientVersionPolicy -Identity site:Redmond

Scenario 3: Get details of a chosen client version policy

Get Client Version Policy

Cmdlet

Get-CsClientVersionPolicy

Example

 Get-CsClientVersionPolicy -Identity site:Redmond

Scenario 4: Delete chosen client version policies

Delete Client Version Policy

Cmdlet

Remove-CsClientVersionPolicy

Example

 Remove-CsClientVersionPolicy -Identity site:Redmond

Scenario 5: Update a client version policy

Update Client Version Policy

  • Annotation 1 - Result

    This annotation on the image indicates a result, that is, the data being retrieved and displayed.

    Cmdlet

    Get-CsClientVersionPolicyRule

    Example

    Get-CsClientVersionPolicyRule -Filter "Global/*"
    
  • Annotation 2 - Option (for the user)

    This annotation on the image indicates an option for the user to implement, that is, to get the details of the client version policy rules.

    Cmdlet

    Get-CsClientVersionPolicyRule

    Example

    Get-CsClientVersionPolicyRule -Identity "Global/2336c611-a243-4c5d-994b-eea8a524d0e4"
    
  • Annotation 3 - Option (for the user)

    This annotation on the image indicates an option for the user to implement, that is, to create a new client version policy rule.

    Cmdlet

    New-CsClientVersionPolicyRule

    Example

    $x = \[guid\]::NewGuid()
    
    New-CsClientVersionPolicyRule -Parent "site:Redmond" -RuleId $x -MajorVersion 4 -UserAgent InHouse
    
  • Annotation 4 - Option (for the user)

    This annotation on the image indicates an option for the user to implement, that is, to commit/save the newly created client version policy rule.

    Cmdlet

    Set-CsClientVersionPolicy

    Example

    Set-CsClientVersionPolicy -Identity site:Redmond -Rules $Null
    
    $x = Get-CsClientVersionPolicy -Identity site:Dublin | Select-Object -ExpandProperty Rules
    
    Set-CsClientVersionPolicy -Identity site:Redmond -Rules $x
    

Client Version Configuration

The CLIENT VERSION CONFIGURATION sub-menu item returns information about the clients supported in Skype for Business Server environment.

Let us consider the various tasks a user can do on CLIENT VERSION CONFIGURATION, and the Skype for Business cmdlets those tasks map to.


Scenario 1: List all the client version configurations

List Client Version Configuration

Cmdlet

Get-CsClientVersionConfiguration

Example

 Get-CsClientVersionConfiguration

Scenario 2: Create a new client version configuration

Create Client Version Configuration

Cmdlet

New-CsClientVersionConfiguration

Example

 New-CsClientVersionConfiguration -Identity site:Redmond -Enabled $False

Scenario 3: Get details of a chosen client version configuration

Get Client Version Configuration

Cmdlet

Get-CsClientVersionConfiguration

Example

 Get-CsClientVersionConfiguration -Identity site:Redmond

Scenario 4: Delete chosen client version configurations

Delete Client Version Configuration

Cmdlet

Remove-CsClientVersionConfiguration

Example

 Remove-CsClientVersionConfiguration -Identity site:Redmond

Scenario 5: Update a client version configuration

Update Client Version Configuration

Cmdlet

Set-CsClientVersionConfiguration

Example

Get-CsClientVersionConfiguration | Set-CsClientVersionConfiguration -DefaultURL "https://litwareinc.com/csclients"

Scenario 6: Enable/disable client version configurations

Enable Client Version Configuration

Cmdlet

Set-CsClientVersionConfiguration

Example

Set-CsClientVersionConfiguration -Identity site:Redmond -Enabled $False

Device Update

DEVICE UPDATE rules are used to associate firmware updates with devices that run Skype for Business Phone Edition.

Let us consider the various tasks a user can do on DEVICE UPDATE, and the Skype for Business cmdlets those tasks map to.


Scenario 1: List all the device updates

List Device Update

Cmdlet

Get-CsDeviceUpdateRule

Example

 Get-CsDeviceUpdateRule

Scenario 2: Delete device updates

Delete Device Update

Cmdlet

Remove-CsDeviceUpdateRule

Example

 Remove-CsDeviceUpdateRule -Identity service:WebServer:atl-cs-001.litwareinc.com/d5ce3c10-2588-420a-82ac-dc2d9b1222ff9

Scenario 3: Cancel device updates

Cancel Device Update

Cmdlet

Clear-CsDeviceUpdateFile

Example

 Clear-CsDeviceUpdateFile -Identity "service:WebServer:atl-cs-001.litwareinc.com"

Scenario 4: Approve device updates

Approve Device Update

Cmdlet

Approve-CsDeviceUpdateRule

Example

 Approve-CsDeviceUpdateRule -Identity service:WebServer:atl-cs-001.litwareinc.com/d5ce3c10-2588-420a-82ac-dc2d9b1222ff9

Scenario 5: Restore device updates

Restore Device Update

Cmdlet

Restore-CsDeviceUpdateRule

Example

 Restore-CsDeviceUpdateRule -Identity service:WebServer:atl-cs-001.litwareinc.com/d5ce3c10-2588-420a-82ac-dc2d9b1222ff9

Test Device

The TEST DEVICE sub-menu item provides a way for administrators to test firmware updates before those updates are distributed to all the devices in an organization.

Let us consider the various tasks a user can do on TEST DEVICE, and the Skype for Business cmdlets those tasks map to.


Scenario 1: List all the test devices

List Test Device

Cmdlet

Get-CsTestDevice

Example

 Get-CsTestDevice

Scenario 2: Create a new test device

Create Test Device

Cmdlet

New-CsTestDevice

Example

 New-CsTestDevice -Identity site:Redmond/UCPhone -IdentifierType SerialNumber -Identifier "07823-A345"

Scenario 3: Get details of a chosen test device

Get Test Device

Cmdlet

Get-CsTestDevice

Example

 Get-CsTestDevice -Identity site:Redmond/UCPhone

Scenario 4: Delete chosen test devices

Delete Test Device

Cmdlet

Remove-CsTestDevice

Example

 Remove-CsTestDevice -Identity site:Redmond

Scenario 5: Update a test device

Update Test Device

Cmdlet

Set-CsTestDevice

Example

Set-CsTestDevice -Identity site:Redmond/UCPhone -IdentifierType SerialNumber -Identifier "09768-ABDR-83295"

Device Log Configuration

DEVICE LOG CONFIGURATION sub-menu item helps manage the Device Update Web service, a Skype for Business Server component that enables administrators to distribute firmware updates to telephones and other devices that run Skype for Business.

Let us consider the various tasks a user can do on DEVICE LOG CONFIGURATION, and the Skype for Business cmdlets those tasks map to.


Scenario 1: List all the device log configurations

List Device Log Configuration

Cmdlet

Get-CsDeviceUpdateConfiguration

Example

 Get-CsDeviceUpdateConfiguration

Scenario 2: Create a new device log configuration

Create Device Log Configuration

Cmdlet

New-CsDeviceUpdateConfiguration

Example

 New-CsDeviceUpdateConfiguration -Identity site:Redmond "07823-A345"

Scenario 3: Get details of a chosen device log configuration

Get Device Log Configuration

Cmdlet

Get-CsDeviceUpdateConfiguration

Example

 Get-CsDeviceUpdateConfiguration -Identity Global

Scenario 4: Delete chosen device log configurations

Delete Device Log Configuration

Cmdlet

Remove-CsDeviceUpdateConfiguration

Example

 Remove-CsDeviceUpdateConfiguration -Identity site:Redmond

Scenario 5: Update a device log configuration

Update Device Log Configuration

Cmdlet

Set-CsDeviceUpdateConfiguration

Example

Set-CsDeviceUpdateConfiguration -Identity global -MaxLogFileSize 2048000 -MaxLogCacheLimit 1024000

Device Configuration

DEVICE CONFIGURATION sub-menu item helps administer information regarding management options for UC phones. These options include the required security mode and whether or not the phone should automatically be locked after a specified period of inactivity.

Let us consider the various tasks a user can do on DEVICE CONFIGURATION, and the Skype for Business cmdlets those tasks map to.


Scenario 1: List all the mobility policies

List Device Configuration

Cmdlet

Get-CsUCPhoneConfiguration

Example

 Get-CsUCPhoneConfiguration

Scenario 2: Create a new device configuration

Create Device Configuration

Cmdlet

New-CsUCPhoneConfiguration

Example

 New-CsUCPhoneConfiguration -Identity site:Redmond -CalendarPollInterval "00:10:00" -LoggingLevel "Medium"

Scenario 3: Get details of a chosen device configuration

Get Device Configuration

Cmdlet

Get-CsUCPhoneConfiguration

Example

 Get-CsUCPhoneConfiguration -Identity site:Redmond

Scenario 4: Delete chosen device configurations

Delete Device Configuration

Cmdlet

Remove-CsUCPhoneConfiguration

Example

 Remove-CsUCPhoneConfiguration -Identity site:Redmond

Scenario 5: Updates a device configuration

Update Device Configuration

Cmdlet

Set-CsUCPhoneConfiguration

Example

 Set-CsUCPhoneConfiguration -Identity site:Redmond -PhoneLockTimeout "00:30:00"

Mobility Policy

MOBILITY POLICY determines whether or not a user can use Skype for Business Mobile. These policies also manage a user's ability to employ Call via Work, a feature that enables users to make and receive phone calls on their mobile phone by using their work phone number instead of their mobile phone number. Mobility policies can also be used to make Wi-Fi connections a requirement when making or receiving calls.

Let us consider the various tasks a user can do on MOBILITY POLICY, and the Skype for Business cmdlets those tasks map to.


Scenario 1: List all the mobility policies

List Mobility Policy

Cmdlet

Get-CsMobilityPolicy

Example

 Get-CsMobilityPolicy

Scenario 2: Create a new mobility policy

Create Mobility Policy

Cmdlet

New-CsMobilityPolicy

Example

 New-CsMobilityPolicy -Identity site:Redmond -EnableOutsideVoice $False

Scenario 3: Get details of a chosen mobility policy

Get Mobility Policy

Cmdlet

Get-CsMobilityPolicy

Example

 Get-CsMobilityPolicy -Identity "site:Redmond"

Scenario 4: Delete chosen mobility policies

Delete Mobility Policy

Cmdlet

Remove-CsMobilityPolicy

Example

 Remove-CsMobilityPolicy -Identity "site:Redmond"

Scenario 5: Update a mobility policy

Update Mobility Policy

Cmdlet

Set-CsMobilityPolicy

Example

Set-CsMobilityPolicy -Identity "site:Redmond" -EnableOutsideVoice $False

Push Notification Configuration

The push notification service (Apple Push Notification Service and Microsoft Push Notification Service) provides a way to send notifications about events such as new instant messages or new voice mail to mobile devices such as iPhones and Windows Phones. These notifications are configured to be sent even if the Skype for Business application on those devices is currently suspended or running in the background.

Let us consider the various tasks a user can do on PUSH NOTIFICATION CONFIGURATION, and the Skype for Business cmdlets those tasks map to.


Scenario 1: List all the mobility policies

List Push Notification Configuration

Cmdlet

Get-CsPushNotificationConfiguration

Example

 Get-CsPushNotificationConfiguration

Scenario 2: Create a new push notification configuration

Create Push Notification Configuration

Cmdlet

New-CsPushNotificationConfiguration

Example

 New-CsPushNotificationConfiguration -Identity "site:Redmond" -EnableApplePushNotificationService $True -EnableMicrosoftPushNotificationService -$True

Scenario 3: Get details of a chosen push notification configuration

Get Push Notification Configuration

Cmdlet

Get-CsPushNotificationConfiguration

Example

 Get-CsPushNotificationConfiguration -Identity "site:Redmond"

Scenario 4: Delete chosen push notification configurations

Delete Push Notification Configuration

Cmdlet

Remove-CsPushNotificationConfiguration

Example

 Remove-CsPushNotificationConfiguration -Identity "site:Redmond"

Scenario 5: Update a push notification configuration

Update Push Notification Configuration

Cmdlet

Set-CsPushNotificationConfiguration

Example

 Set-CsPushNotificationConfiguration -Identity "site:Redmond" -EnableApplePushNotificationService $False