January 20, 2013,
Uncategorized
Love it or hate it, you cannot avoid it. if you are expecting to do any work in SharePoint 2013 then you simply need to have skills in Powershell, or at least a working knowledge of its capabilities.
Let’s assume you need to get out some stats because your manager is knocking on your door asking for Usage Reports. These can be found under Site Settings -> Site Administration ->Popularity Trends -> View Usage Reports.
They are though a little constrained but you can get deep and dirty with powershell. The web contains many a fine example of how to get more granular (Example below is taken from the Technet forums so credit to R Tut)
Get the Usage Reports for a site collection in PoweShell
$searchApp = Get-SPEnterpriseSearchServiceApplication
$site = Get-SPSite “{SiteUrl}”
$result = $...
Read More