TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Move content Databases using PowerShell
Destin Joy
Aug 30, 2011
4.1
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
This will help you to move your sharePoint Content database using Power Shell
To attach or to detach an existing content database use the below power shell command
Mount-SPContentDatabase "<ContentDb>" –DatabaseServer "<DbServer>" –WebApplication
http://your
WebapplicationName
Where
<ContentDb>:
is the content database to be attached.
<DbServer> :
is the name of the database server.
http://your
WebapplicationName
:is the name of the Web application to which the content database is being attached.
To detach a content database use the below power shell command
Dismount-SPContentDatabase "<ContentdBName>"
Move content Databases using PowerShell
Next Recommended Reading
Get Content Type Usage Details In SharePoint Using Powershell