Thursday, March 20, 2014

SharePoint 2010 Site Inventory

If you keep on hearing the question

How can we get inventory of all the site collection/ subsites in a web application including the created and last modified date of these sites.

well you don't have to look for third party tool. Simple old fashioned powershell is  a saviour

Get-SPWebApplication  http://.contoso.com | Get-SPSite -Limit All | Get-SPWeb -Limit All | Select Title, URL, lastitemmodifieddate , created | Export-CSV C:\Inventory.csv -NoTypeInformation


Enjoy!!!

 

No comments:

Why do we use np.random.seed()

This is a simple function but to my surprise lot of ML engineers had asked me about the actual usage of this function and why do I use it wh...