Home Contact

The Frog Pond of Technology

Ripples of Knowledge for SharePoint and Other .Net Technologies

News

 Subscribe to this blog


2012 Scripting Games

Grab this badge here!

About Me

Name:
Brian T. Jackett
Location:
Columbus, OH
Company:
Microsoft

Find me on...

Twitter












Tag Cloud


Archives

Post Categories

Syndication:

PowerShell


PowerShell Check for Empty SecureString Entry

A few days ago my friend Todd Klindt (click here for his blog, I get helpful advice there all the time) asked the following question on Twitter: ‘Is there a way to see if someone just his enter with “read-host –assecurestring”? I need to test for no input. #powershell’. Problem As you may know, secure strings in PowerShell are not readable (unless using ConvertFrom-SecureString or some alternate process). If attempt to check equality of a secure string against an empty string or the null variable...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

PowerShell Script To Traverse All Sites In SharePoint 2010 (or 2007) Farm

Over the past few years I’ve written a number of blog posts on performing various actions against a site collection or web application (display site collection admins, find all SPShell admins with database, find closed web parts). Invariably with every post I get some comments along the lines of “this is great, how can I run this against every site in the farm”. Well today you get your wish (sort of). Below you will find a template script that traverses all sites within your local farm. Isn’t that...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Speaking at BuckeyeSPUG May 2011 Meeting

This Thursday May 19th, 2011 I will be presenting my “PowerShell for the SharePoint 2010 Developer” session at the Buckeye SharePoint User Group (BuckeyeSPUG). BuckeyeSPUG is my local SharePoint user group and I always enjoy giving back by helping out with the steering committee, presenting, and volunteering with any other areas that I can. I recently gave this presentation at SharePoint Saturday Michigan last weekend and the early feedback I heard was good. I’m looking forward to a good meeting...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

PowerShell Script To Display All SharePoint Site Collection Administrators In Web Application

In this post I present a script that will display all of the site collection administrators for a given web application. This script will work for SharePoint 2007 or 2010 as it uses the object model rather than the new SharePoint 2010 commandlets. Special thanks to Tasha Scott (Twitter) for posting a request for this script. It took less than 15 minutes to come up with and formalize. Solution The solution is fairly straight forward. First you grab a reference to a site collection. Get the web application...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Slides, Scripts, and Photos from SharePoint Saturday New Orleans 2011

This weekend I presented “Managing SharePoint 2010 Farms with PowerShell” at SharePoint Saturday New Orleans. This was my first time visiting New Orleans so I was excited for the experience. A big thanks to everyone who attended my session. I condensed the material a little but the slides and scripts below have additional material that we couldn’t cover. Let me know if you have any comments, questions, or feedback. Thanks. Slides and Scripts Managing SharePoint 2010 Farms with PowerShell Photos Pictures...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Slides, Code, and Photos from SPTechCon San Francisco 2011

Note: Updated 2/12/11 with links to both presentation materials. This past week I presented two sessions at SPTechCon San Francisco 2011. The first session was “The Expanding Developer Toolbox for SharePoint 2010” which . Thanks to all of my attendees for this session. They had so many great questions that we ran out of time before covering all of the planned material. Especially for them I’ve provided the slides and code samples to walk through them on their own. The second session was “Real World...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

The One Thing: Brian Jackett and SharePoint 2010

Last weekend at SharePoint Saturday Virginia Beach (website) I was asked by Christian Buckley (twitter) from Axceler (website) to do a short video for his “The One Thing You Need To Know About SharePoint 2010” video series. Below is the video. Background When Christian asked me to do this video I was in a time crunch to make it to the airport for my flight home. I was literally running out the door right after we finished. As a result I was rushed in my response which led to my funny line at the...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Slides, Materials, and Pictures from SharePoint Saturday Virginia Beach 2011

This past weekend I presented “Managing SharePoint 2010 Farms with PowerShell” and “SharePoint 2010 and Integrating Line of Business Applications” SharePoint Saturday Virginia Beach. A big thanks to everyone who attended my sessions. I had a great time presenting, getting to meet new folks, and exploring a little bit of the local life. Below are slides, materials, and pictures from the event. Let me know if you have any comments, questions, or feedback. Thanks. Slides and Materials Managing SharePoint...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

SharePoint 2010 PowerShell Script to Find All SPShellAdmins with Database Name

<Update 2011-29-06: Modify script to handle multiple admins per database> Problem Yesterday on Twitter my friend @cacallahan asked for some help on how she could get all SharePoint 2010 SPShellAdmin users and the associated database name. I spent a few minutes and wrote up a script that gets this information and decided I’d post it here for others to enjoy. Background The Get-SPShellAdmin commandlet returns a listing of SPShellAdmins for the given database Id you pass in, or the farm configuration...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Slides and Scripts from Metalogix Webcast Master Your SharePoint Migration With PowerShell

Thanks to everyone who attended the Metalogix webcast “Master Your SharePoint Migration with PowerShell” I guest presented on today. We had great attendance and no technical hitches which is always a plus. A number of attendees asked for my slide deck which you can find at the link below. As a bonus I am including a set of demo scripts that I typically use with the longer version of this presentation. If you have any questions or comments please feel free to reach out to me. A big thanks once again...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Full PowerShell Archive