Category Archives: Articles

Move Search Index Location from C drive to other Drive

Move SharePoint Search Index Location from C drive to other Drive We can move search index location using Powershell in SharePoint 2010, SharePoint 2013. Powershell Script: Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue  #Get the current Search topology $ssa = Get-SPEnterpriseSearchServiceApplication “Search Service … Continue reading

Posted in Articles | Leave a comment

Get all SharePoint 2016 PowerShell Commands

Run below command to get the list of all the commands of SharePoint. Run the below command in SharePoint Management Shell — Get-Command -PSSnapin “Microsoft.SharePoint.PowerShell” | Select Name, Definition | fl >c:\SP2016_Powershellcommands.txt Below is the List of all the PowerShell … Continue reading

Posted in Articles | Leave a comment

Renaming Admin Content Database and Other Content Databases in SharePoint using Powershell

Follow the below procedure to rename and attach the admin content database and other content databases. Log on to the SharePoint Server with Farm Account (Normally i do all stuffs in SharePoint using Farm Account as it has the highest … Continue reading

Posted in Articles | Leave a comment

Getting details of the master page and Setting up Master Page using PowerShell in SharePoint 2013

Get the Master Page details: $site = Get–SPSite http://yourSiteUrl/ $web = $site.RootWeb $web.CustomMasterUrl //This will give the url of the custom master used. $web.MasterUrl //This will give the url of the master page used. $web.AlternateCssUrl //This will give url of … Continue reading

Posted in Articles | Leave a comment

Download all files from the SharePoint Document Library on Local Drive

This Script will allow you to download files from SharePoint Document Library to Local disk or Shared drive. PowerShell Script: ####### Script to download all files from Document Library####### $destination = “C:\\temp\\Folder” $webUrl = “<Url of the specific site>” $listUrl … Continue reading

Posted in Articles | Leave a comment

How to resolve User Profile Synchronization Service is Stuck at Starting

Let’s assume you are at the stage where the User profile Sync service is stuck on starting mode. First you need to stop the User Profile Sync service using the below power shell command. Open SharePoint 2010 Power shell and … Continue reading

Posted in Articles | Leave a comment

Backup a Site Collection and List

Follow these steps for a List Backup through the GUI: Login to MSF1 and create a new folder under c:\back\exercise4. From Central Administration’s Backup and Restore page, click the ‘Export a site or list’ link. This will bring you to … Continue reading

Posted in Articles | Leave a comment

Creating & Subscribing Subscription ID with Site

STEP 1: Creating a new subscription: CMD: $sub=New-SPSiteSubscription Verify the output: PS C:\Users\administrator.DOMAIN> $sub Id                                                   … Continue reading

Posted in Articles | 2 Comments