A company uses SharePoint as its collaboration platform.
The SharePoint site collection has many inactive sites.
You need to identify the inactive sites in each web application of the farm by using Windows PowerShell scripts.
Which property should you evaluate?
A.
$site.DeadWebNotificationCount
B.
$site.ExpirationDate
C.
$site.CertificationDate
D.
$site.LastContentModifiedDate
E.
$site.CurrentResourceUsage
Explanation:
How to find Most Active SharePoint Site Collections?
Well, SPSite object has LastContentModifiedDate property, why don’t we use it? Here is the nifty PowerShell
script to find Most active Site collections based on content modified date. In a reverse, this can be used to find
all In-active site collections also.
5
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
Get-SPWebApplication “https://sharepoint.company.com” | Get-SPSite -Limit All | foreach {
Write-Host $_.URL $_.LastContentModifiedDate
}Reference: Find Active Inactive Site Collections in SharePoint
http://www.sharepointdiary.com/2012/12/find-active-inactive-site-collections.html