Click Start-->All Programs-->Microsoft SharePoint 2010 Products, and then click SharePoint 2010 Management shell. (Run as administrator)
Run the following script on the Management shell.

Clear-Host
$WebService = [Microsoft.SharePoint.Administration.SPWebService]::ContentService
$WebApplications = $WebService.WebApplications
foreach ($webapp in $webapplications) {
foreach ($site in $webapp.sites) {
foreach ($web in $site.allwebs) {
foreach ($list in $Web.Lists) {
if($list.IrmEnabled) {
Write-Host "IRM Enabled Library: $($list.ParentWeb.Url)/$($list.Title)"
}}}}}
$web.Dispose()



If you want to log this to a file you can use the start-transcript method described here:

http://technet.microsoft.com/en-us/library/dd347721.aspx

 


See Also


Other languages