Monday, November 19, 2012

Get SharePoint sites created after specific date using PowerShell

Following PowerShell Script will provide sites created after a specific date

  1. $date = [datetime]"10/15/2012"
  2.  
  3. Get-SPWebApplication "http://sp13:8080" | Get-SPSite -Limit All | Get-SPWeb -Limit All | where {$_.Created -lt $date } | select Url, {$_.Created}

No comments: