Getting (and taking ownership of) Checked Out Files using Windows PowerShell

Posted on 22 CommentsPosted in SharePoint 2010

Often when I’m working on a project I need to generate a list of all checked out files and provide that to my client just prior to release to production. Sometimes the client will manually inspect each of them and act as they see fit and other times they’ll ask me to just batch publish all of them (for which I use my Publish-SPListItems cmdlet). So, how do I generate the report for the client? […]

Retrieving and Configuring the SharePoint 2010 Developer Dashboard using PowerShell

Posted on 1 CommentPosted in PowerShell Cmdlets, SharePoint 2010

It’s been almost a year to the day since I’ve released my SharePoint 2010 cmdlets and, despite many good intentions to get them documented on my blog, things have just fallen by the wayside; this was primarily due to me going out on my own and writing my first book – but now that the book is done and I’ve begun to establish myself as an independent consultant, I believe it’s about time I start […]

Upgrading User Profile Choice Fields to SharePoint 2010

Posted on 3 CommentsPosted in PowerShell Scripting, Scripts

I’m working on an upgrade (database attach) for a client of mine and I ran into something somewhat unexpected with some User Profile properties – properties that used a choice field in 2007 (fields that allowed the administrator to define a list of values that the user could pick from) were migrated to Managed Term Store based fields when upgraded. At first glance this was pretty cool; the only problem was that, though the field […]

Deploying SharePoint 2010 Solution Package Using PowerShell (Revisited)

Posted on 37 CommentsPosted in PowerShell Scripting, Scripts

If you were at my PowerShell for developers talk at the European SharePoint Best Practices Conference last week then you’ll know that I’ve never been all that happy with how I was approaching Farm Solution deployment, as detailed in an earlier post from sometime last year (Deploying SharePoint 2010 Solution Packages Using PowerShell). So what are some of the issues I have with what I created? Here’s a quick list: There are two functions – […]

Retrieving SharePoint 2010 Feature Activations Using Windows PowerShell

Posted on 3 CommentsPosted in PowerShell Scripting, Scripts

During my PowerShell for Developers presentation in London last week I promised to show and demonstrate a script for retrieving Feature activations; unfortunately I ran out of time and was not able to show this script to the degree that I’d intended so I decided to throw together this blog post. When developing custom Features it is very common to expect that there will need to be some level of update required for those Features. […]

European SharePoint Best Practices Conference Wrap Up

Posted on 2 CommentsPosted in Speaking

I just got back from London and all I can say is, “Wow!” This was the first time that myself and my wife and daughter have ever been out of the US and we had an absolute blast – we did so much walking that we literally wore our shoes thin – it’s truly an amazing place with incredible history everywhere you turn. As for the conference itself, first off I want to thank Steve […]

Windows PowerShell Cheat Sheet

Posted on 2 CommentsPosted in PowerShell Scripting

While preparing for my two PowerShell talks that I presented at the European SharePoint Best Practices Conference last week in London, I soon discovered that I had way too much content to present. Specifically, I wanted to begin both talks with a “PowerShell 101” piece where I walked through some of the more basic concepts relevant to each audience (mainly those that I always got tripped up on); unfortunately there’s just too many things to […]

Creating PowerShell Help Files Dynamically

Posted on 9 CommentsPosted in PowerShell Cmdlets, SharePoint 2010

It’s been a while since I’ve blogged anything useful due to all my writing efforts going to the book that I’ve been working on. However, I’ve recently wrapped up my last chapter for the book so I figured what better time to start focusing on my blog again. The first thing I wanted to cover was something that I should have documented back in May of 2010 when I released my SharePoint 2010 cmdlets and […]

Getting an Inventory of All SharePoint Documents Using Windows PowerShell

Posted on 116 CommentsPosted in Scripts, SharePoint 2010

I got an email today asking if I had anything that would generate a report detailing all the documents throughout an entire SharePoint Farm. As this wasn’t the first time I’ve been asked this same question I decided that I’d just go ahead and post the script for generating such a report. The script is really quite straightforward – it simply iterates through all Web Applications, Site Collections, Webs, Lists, and finally, List Items. I […]

Deploying SharePoint 2010 Solution Packages Using PowerShell

Posted on 20 CommentsPosted in Scripts, SharePoint 2010

Update 4/19/2011: I’ve reworked this script completely. You can find the update here: http://blog.falchionconsulting.com/index.php/2011/04/deploying-sharepoint-2010-solution-package-using-powershell-revisited/ With SharePoint 2010 we can now deploy our Solution Packages using PowerShell. What’s cool about this is that it’s a bit easier than it was with 2007 to check if a package is already deployed and conditionally retract, delete, and then re-add and re-deploy. By now most people already know how to do this as it’s fairly straightforward but I thought […]