Restore Content Database using power shell 1.Create a new Central Administraton Content Database New-SPContentDataBase -Name Sharepoint_AdminContent -WebApplication http://win-idc918bbhd0:8003/ 2.Get a list of Central Administration Content DataBase Get-SPWebApplication -Identity http://win-idc918bbhd0:29852 | Get-SPContentDatabase | Select id, Name, WebApplication|Format-List Get-SPWebApplication -Identity http://win-idc918bbhd0:8003 | Get-SPContentDatabase | Select id, Name, WebApplication|Format-List 3.Copy Database Content: Get-SPSite -ContentDatabase [old databaseid GUID]| Move-SPSite -DestinationDatabase [new database id GUID] Get-SPSite -ContentDatabase aa4e76db-6307-4484-9afc-6a70c4eaba39| Move-SPSite -DestinationDatabase aa4e76db-6307-4484-9afc-6a70c4eaba39 4.Delete the old database Remove-SPContentDatabase [old database id GUID] Remove-SPContentDatabase 3eb947a3-7ee6-4e11-ba0f-7d565735fd5c 5.Confirm the old database has been removed form sharepoi...
Posts
Showing posts from August, 2015
Sharepoint View (Filter Current User's)
- Get link
- X
- Other Apps
Once you create the new list, you must add columns to the list. You can add new columns to the list by clicking on the List Settings option displayed below. Next click on the “Create Column” link near the bottom of that page. One of the columns of the list should be a column to assign the item to either a user or user group. This column is used to implement the filtering. Next, create a view based on the user/user group column. This option is on the List Settings page below the Columns section. You can decide which columns are important for this new view. The most important thing for this example is adding the filter to only show list items that are assigned to the current user. It is also best to make the view the default view for the list at this point. We expand this filter later using SharePoint Designer 2010 to include the current user and any groups that user is in. Once the new view is create, open SharePoint designer and point it to the SharePoint instance th...