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 ...