Home / powershell (page 3)

powershell

SharePoint 2013 Upgrade Process

How to we get the SharePoint 2010 upgraded to 2013? We do not have anymore inplace upgrade, so we need to bring the databases over to SharePoint 2013 Farm. So we need to have SharePoint 2013 farm built, services setup and server distribution before the upgrade. What are the high level upgrade Stages?   What service applications can be upgraded? ...

Read More »

SharePoint Content database – maxsitecount and warningsitecount – PowerShell

Quick Help Script: How to set the maxsitecount and warningsitecount  on a content database either after the upgrade or migration or even after moving the content database from different farm or web application. Add-PSSnapin microsoft.sharepoint.powershell $dbs = get-spcontentdatabase -webapplication https://webapplicationname foreach($db in $dbs.name) {Set-SPContentDatabase -Identity $db -MaxSiteCount 1 -WarningSiteCount 0}

Read More »

Restore Project server databases and instances to another farm

As I said in my previous post, today we will see how can we move project instances to another farm which including all your project server databases. Before we delete PWA databases from sql server we need to accomplish some tasks in the order: Delete/remove all the pwa instances from project server provisioning center (PWA service app) Connect to sql ...

Read More »

Required Permissions in SharePoint Farm for executing PowerShell scripts

Before you execute any of the SharePoint Cmdlet you must be sure that you have necessary permissions to execute in the farm. Also you must have access to local WSS_ADMIN_WPG group where you are executing the cmdlet. Also you must be member of the SharePoint_Shell_Access SQL role within the databases your cmdlet calls in to interact with. Some commands also require you to be a member ...

Read More »