Add/Edit list items using PowerShell in SharePoint 2010

During the last few months I have been asked a few times to help think of a way to edit list values for lists that contain a lot of data. I immediately thought of PowerShell. This is why I want to show you what you can do with PowerShell. Used set up for this demo Read more about Add/Edit list items using PowerShell in SharePoint 2010[…]

Get Site Collections per Content Database oneliner

This will be a very short post, as it contains only 1 line of PowerShell code, and is not very hard to understand. It shows you all content databases, and for each of the content databases, it will show you the site collections within this content database. That wasn’t so bad right? Just copy and Read more about Get Site Collections per Content Database oneliner[…]

Content Database size report using PowerShell

Summary: This post describes how to get a content database size report using PowerShell. What does it do? The script will create a report of all Web Applications and the associated Content Databases. It will tell you how big each Content Database is in GB. The result will be saved in a .txt file. Optionally, Read more about Content Database size report using PowerShell[…]

Browser File Handling in SharePoint

Summary: This post explains Browser File Handling in SharePoint. Sympton By default, when you open a PDF file from a document library, you will get the following screen (IE9): Causes This by design. A quote from Microsoft: “This is intentional behavior. In 2010 we’ve tightened up security for people with contribute access. Previously, a malicious Read more about Browser File Handling in SharePoint[…]

Get SharePoint lists by using PowerShell

Summary: This post describes how to get SharePoint lists by using PowerShell. My last article explained how you can retrieve all your workflows from your SharePoint 2010 farm. After this, I got some requests from people that wanted an overview of all their used lists in SharePoint 2010. For this, I adjusted my last script Read more about Get SharePoint lists by using PowerShell[…]

Get all workflows in all sites and lists

Summary: This blog post describes how to get all workflows in all sites and lists in SharePoint 2010 and SharePoint 2013. From an administrator point of view, it can be hard to keep track of all workflows used in your SharePoint 2010 environment. To make things a little easier, I created a script that will Read more about Get all workflows in all sites and lists[…]

Recover a single e-mail using Search-Mailbox in Exchange 2010

Summary: This post describes how to recover a single e-mail using Search-Mailbox in Exchange 2010. *Note* This article applies to Exchange Server 2010 SP1. Recently I was asked to recover a single e-mail, because he deleted it by accident. In Exchange 2007 I would use the Export-Mailbox cmdlet. In Exchange 2010 SP1 a new cmdlet Read more about Recover a single e-mail using Search-Mailbox in Exchange 2010[…]

Exceptions in PowerShell

When scripting anything in PowerShell, you might find out that the exception handling in PowerShell V2 is not very extensive. I ran into a problem using the “New-SPSite” cmdlet for SharePoint 2010. The solution that I used for my problem can also be used for any other Cmdlet. Running this cmdlet when the site collection Read more about Exceptions in PowerShell[…]

Export/Import SharePoint 2010 solutions using PowerShell (Part 3/3)

This last part will contain a script that will deploy the solutions to all available web applications. So you should only use this script if the solutions that are not deployed, have to be deployed on all SharePoint 2010 Web Applications. Alternitavely, you can also change the script to only deploy the solution to 1 Read more about Export/Import SharePoint 2010 solutions using PowerShell (Part 3/3)[…]

Export/Import SharePoint 2010 solutions using PowerShell (Part 2/3)

Following up on the exporting of all solutions deployed in SharePoint 2010 in part 1, now it’s time to import these solutions to a different SharePoint 2010 farm. Part 2 – Import all exported solutions to any SharePoint 2010 environment In this part, we will cover how to add the solutions to another SharePoint 2010 Read more about Export/Import SharePoint 2010 solutions using PowerShell (Part 2/3)[…]