문제

Is there a way to use PowerShell to look through SP2010 to produce a report listing all the locations a retention policy is set that has the property to either delete the item or move items to recycle bin.

도움이 되었습니까?

해결책

List policy xml is stored in the RetentionPolicy.xml file in the root folder of the list (Forms/RetentionPolicy.Xml). An idea, iterating lists and reading RetentionPolicy.xml file for the list, check the action.

You can read the following thread to learn how to get RetentionPolicy.xml file:

https://social.technet.microsoft.com/Forums/office/en-US/3a7323f6-a3fd-4e2b-9c67-27a1fc18c1c4/how-to-get-sharepoint-list-retention-policy-description?forum=sharepointgeneralprevious

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top