PowerShell One-Liners

Lync Server PowerShell One-Liners

Address Book Sync

Update-CsAddressBook – Writes changes in backend DB to the address book files.
Update-CsUserDatabase – Synchronizes data between AD and Lync backend DB (rtcab).

Services

Get-CsWindowsService – Service Activity Level e.g number of current calls
Stop-CsWindowsService – Graceful – Stops service without terminating current activities

Central Management Store

Topology

Export-CsConfiguration -FileName C:LyncConfig.zip – Exports topogoly to zip file

Announcement Service

New Announcement to SIP Address

New Announcement to Number

New Announcement to Play Audio File

Remove Announcement

Unassigned Numbers

Response Groups Hours of Business

 

LEAVE A REPLY