Wednesday, April 17, 2013

Usage Data Retention in SharePoint Database - SharePoint 2013

Check the current retention policy using :
Get-SPUsageDefinition

By default it's 14 days.

To change the retention use the following script:

Set-SPUsageDefinition -Identity "Page Requests" -DaysRetained 31


Complete definition of this command can be found at :
http://technet.microsoft.com/en-us/library/ff607542.aspx


No comments:

Handle the error “OwnershipControlsNotFoundError” for buckets created prior to April 2023 when the bucket ownership was defaulted to “Object Writer”

Here you go published a  python code sample written for migrating S3 bucket ownership controls between AWS accounts. The code is written to ...