O'Reilly logo

Microsoft® Lync Server 2010 Unleashed by Tom Pacyk, Andrew Abbate, Alex Lewis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using PowerShell for Configuration Tasks

For administrators who prefer to do all their configuration tasks through PowerShell, Lync Server 2010 supports the capability to read and modify the archive policy and archive configuration through cmdlets:

Get-CsArchivingConfiguration Identity                   :Global EnableArchiving            :ImAndWebConf EnablePurging        :True PurgeExportedArchivesOnly:False BlockOnArchiveFailure      :True KeepArchivingDataForDays   :14

These cmdlets can be modified through Set-CsArchivingConfiguration. For example, the following cmdlet updates the archive retention period to 15 days.

Set-CsArchivingConfiguration –Identity Global –KeepArchivingDataForDays 15

For the policy, use Get-CsArchivingPolicy:

Identity                   :Global ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required