Skip to main content

Backup, Uninstall and remove all WSPs using powershell script in sharepoint

Backup, Uninstall and remove all WSPs using powershell script

Happy Powershell scripting :)


Popular posts from this blog

Missing Site Pages and Site Assets libraries in SharePoint 2010

Ever wonder why sometimes when you create a site in SharePoint 2010, 
the Site Pages and Site Assets libraries are not created, yet other times,
 they are?

The answer lies in a feature called Wiki Page Home Page,
 which is enabled by default for Team Sites in SharePoint 2010.
 However, other types of site templates may not activate that feature by default, 
and if that’s the case, those libraries won’t be there.

If you need them, you have a few options:

Activate the “Wiki Page Home Page” feature. The feature will create 
those libraries and will also create a wiki page and set it as the 
home (welcome) page for your site.
If you only need the libraries and don’t want your home page changed,
 you can have SharePoint Designer 2010 create the libraries for you:
Open SharePoint Designer.
In the “Site Objects” pane on the left, click “Site Pages.” SP Designer
 will load the contents of the Site Pages library and tell you it’s empty.
 However, it also creates the Site Pages library for you in the process.

User Profile Application Proxy failed to retrieve partitions from User Profile Application

This issue happens mostly on the Farm installation. Everyone will say to recreate the UPS, restart the server and then it should work fine. But if you have used the Custom properties and created a managed property in Search then its very difficult to recreate it and then to create it again. The better solution so far i have researched is the following Stop the User Profile Synchronization service Stop the User Profile Service Start the User Profile Service Start the User Profile Synchronization service. I hope the above should help you resolve the issues. Cheers.

Create Site Collection in a Specific Content Database

In real world scenarios you will have to store or create sitecollection into a separate content Database. For example if you have a large number of team sites which may increase in numbers and leads to the size in future to 500GB to 1TB or even more. So you need to create additional content databases for a particular web application. Example: If you are building portal for a customer and his company have different departments like Finance, marketing, Sales etc. Where you need to store more amount data, in those cases you need to create multiple content databases in a single web application. Try to use below naming conventions to maintain the databases in a long term prospective for SQL guys who are maintaining your SharePoint databases. For finance team "Finance_Team_site_Content_Database" , for marketing "Marketing_Team_site_Content_Database" and for Sales "Sales_Team_site_Content_Database" etc. To achieve our goal perform below steps. Step 1: Add content Da…