Using Cmdlets for Configuration Tasks

As one might logically expect, the policies and configurations can also be created through cmdlets, for example:

New-CsArchivingConfiguration –Identity "site:New York" –EnableArchiving ImAndWebConf –EnablePurging:$True –PurgeExportedArchivesOnly:$False –BlockOnArchiveFailure:$False –KeepArchivingDataForDays:21 –ArchiveDuplicateMessages:$False

Notice the last argument set in this command—ArchiveDuplicateMessages. This is a good example of where there are options available through the cmdlets that aren’t exposed to the GUI tools.

The power of using cmdlets to manage an application, such as Lync Server 2010, becomes readily evident when you are dealing with a large implementation. By scripting the configuration ...

Get Microsoft® Lync Server 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.