Category Archive: PowerShell

Nov 16

PS Tips#4 : Apply a New Quota to all Users My Sites

Just a quick snippet this morning. If you need to apply a new quota template to all users My Sites here’s a quick script to do it. Changing an existing quota is fine but if you’re migrating users from another system or you just want to up everyone’s storage a bit here’s what you do. …

Continue reading »

Permanent link to this article: http://blog.raminassar.com/2011/11/16/ps-tips4-apply-a-new-quota-to-all-users-my-sites/

Nov 12

PS Tips#3 : Set Privileges for Managing SharePoint from PowerShell

To execute a command in the SharePoint 2010 Management Shell, open the Management Shell on a SharePoint 2010 server. To execute commands, the user must have the necessary privileges to the SharePoint object model and to the SharePoint databases. When you are working with SharePoint objects, connections to the database are generally created with the …

Continue reading »

Permanent link to this article: http://blog.raminassar.com/2011/11/12/ps-tips3-set-privileges-for-managing-sharepoint-from-powershell/

Oct 13

PS Tips#2: Quick Snippets ‘Working with -SPSolution’

You can use Power Shell to manage features and solutions in a Microsoft SharePoint Server 2010 farm. here I will listed quick reference note about the major command that used with sharepoint server solutions.   Add-SPSolution This command is used to uploads a sharepoint solution to the farm, the syntax would be like: Add-SPSolution [-LiteralPath] …

Continue reading »

Permanent link to this article: http://blog.raminassar.com/2011/10/13/ps-tips2-quick-snippets-working-with-spsolution/

Oct 11

PS Tips#1: Error ‘Admin SVC must be running in order to create deployment timer job’

Some times when you are trying to deploy the SharePoint 2010 WSP using PowerShell, you might got this error when you try to run the Install –SPSolution, or Update –SPSolution command saying that: So all you need to do is to go to the Services section in Control PanelSystem and SecurityAdministrative Tools and look for …

Continue reading »

Permanent link to this article: http://blog.raminassar.com/2011/10/11/ps-tips1-error-admin-svc-must-be-running-in-order-to-create-deployment-timer-job/

Jul 05

SharePoint 2010 SP1 new feature – Recycle bin

One of the cool new features introduced in SharePoint 2010 SP1 is the Site Recycle Bin feature. Earlier, the only way to restore deleted sites and site collections required to restore the appropriate content databases. But from SP1 onwards, deleted sites can be recovered from the Site Recycle Bin. Deleting and Restoring Sites (SPWeb) When …

Continue reading »

Permanent link to this article: http://blog.raminassar.com/2011/07/05/sharepoint-2010-sp1-new-feature-recycle-bin/