Posts

Showing posts from May 4, 2014

SharePoint 2010 currently installed version

There are different methods to find currently installed version of SharePoint. Method 1:   SharePoint 2010 Central Administration: 1.      Open  SharePoint 2010 Central Administration 2.      Click System Settings 3.      Click Manage Servers in This Farm 4.      See  Configuration Database Version  field Method 2:  Detailed from SharePoint 2010 Central Administration: 1.      Open  SharePoint 2010 Central Administration 2.      Click Upgrade and Migration 3.      Click Check Product and Patch Installation Status 4.      See  Version  column Method 3:  SharePoint PowerShell: 1.      Open  SharePoint 2010 Management Shell(run as administrator)  2.      Type   (get-spfarm).buildversion

SharePoint 2010 : Mount and Test database using Power Shell

mount-SPContentDatabase "WSS_NRM_3333" -DatabaseServer "kpk01" -WebApplication http://kpk01:3333 Test-SPContentDatabase -name WSS_NRM_3333 -webapplication http://kpk01:3333

SharePoint Power Shell : Remove/Delete users from User Information List

Script: $url = "http://sitecollection" $web = get-spweb $url $list = $web.Lists["User Information List"] $listItems = $list.Items $listItemsTotal = $listItems.Count for ($x=$listItemsTotal-1;$x -ge 0; $x–-) { Write-Host(“DELETED: ” + $listItems[$x].name) remove-spuser $listItems[$x]["Account"] -web $url -confirm:$false } $web.dispose() Url: http://[localhost]/_catalogs/users/simple.aspx)