Topic Last Modified: 2010-11-09
Who can run this cmdlet: By default, members of the following groups are authorized to run the Get-CsAddressBookConfiguration cmdlet locally: RTCUniversalServerAdmins. To return a list of all the role-based access control (RBAC) roles this cmdlet has been assigned to (including any custom RBAC roles you have created yourself), run the following command from the Windows PowerShell prompt:
Copy Code | |
---|---|
Get-CsAdminRole | Where-Object {$_.Cmdlets -match "Get-CsAddressBookConfiguration"} |
The cmdlet Get-CsAddressBookConfiguration returns information about a configuration that already exists.
For example:
Copy Code | |
---|---|
Get-CsAddressBookConfiguration -Identity site:Redmond |
Combining the functionality of Get-CsAddressBookConfiguration and Set-CsAddressBookConfiguration allows the administrator to define which configurations to modify and then apply the modifications. For example, this combined:
Copy Code | |
---|---|
Get-CsAddressBookConfiguration -Filter site:* | Set-CsAddressBookConfiguration -RunTimeOfDay 23:00 |
Returns all configurations in all sites and applies the RunTimeOfDay of 23:00 hours to the configurations.
For a detailed description of the full command, refer to the following in the main Lync Server Windows PowerShell RTCCmdlets reference.