Posts

Showing posts from October, 2014

Check the size of SharePoint 2010 sites using PowerShell

Execute the below code under Powershell command prompt. Once you have run the script, you can call it with the following PowerShell command: GetWebSizes -StartWeb   <StartURL> if ((Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue) -eq $null) {     Add-PSSnapin "Microsoft.SharePoint.PowerShell" } function GetWebSizes ($StartWeb) {     $web = Get-SPWeb $StartWeb     [long]$total = 0     $total += GetWebSize -Web $web     $total += GetSubWebSizes -Web $web     $totalInMb = ($total/1024)/1024     $totalInMb = "{0:N2}" -f $totalInMb     $totalInGb = (($total/1024)/1024)/1024     $totalInGb = "{0:N2}" -f $totalInGb     write-host "Total size of all sites below" $StartWeb "is" $total "Bytes,"     write-host "which is" $totalInMb "MB or" $totalInGb "GB"    ...

Creating a Stoplight (indicator) Color Coded Status in a SharePoint List

Use this  URL: http://thinketg.com/creating-a-stoplight-color-coded-status-in-a-sharepoint-list/

Clearing Infopath Cache

Start -> Run prompt -> infopath /cache clearall