Introduction to the SharePoint Online Management Shell

Posted on 3 CommentsPosted in Article, ITUnity, PowerShell Scripting, SharePoint Online

Update 10/25/2017: This article originally appeared on ITUnity.com but as that site has been decommissioned I’ve republished it here. With Office 365 now on SharePoint 2013, we finally have the long-awaited, and long-overdue support for using Windows PowerShell to manage SharePoint Online environments. Though support is still shockingly limited, it is a step in the right direction. For those of us managing large SharePoint Online environments, or about to do so, PowerShell scripting definitely beats […]

Invoke-SPORestMethod: Using the SharePoint Online REST API with PowerShell

Posted on 5 CommentsPosted in PowerShell Scripting, SharePoint Online

Earlier this summer I mentioned that I’d start blogging about some of my scripts that I have in my toolbox and I guess I’m a little behind in that but I guess better late than never. I’ve had snippets of code that I could use to make REST based calls to SharePoint Online for a while, some of them were little snippets of PowerShell and some were embedded deep in my custom cmdlets or some […]

Get-SPControlElement

Posted on 1 CommentPosted in PowerShell Scripting

I haven’t really done much blogging lately so I figured I’d try and get back into it by sharing some scripts from my collection. Over the years I’ve created tons and tons of little scripts here and there to help me solve one problem or another – whether it be some upgrade related thing or a content or build migration or just some random snippet to help me figure out what the heck is going […]

Parallel SharePoint Tasks with PowerShell

Posted on 3 CommentsPosted in PowerShell Scripting, SharePoint 2010, SharePoint 2013

Today I was working on a deployment for a client which entailed activating a custom SharePoint Feature on about 1000 Site Collections. This Feature did a fair number of things and on average it takes about 10-15 minutes to complete in their test environment (which is pretty slow compared to their production environment which I’ve not yet deployed to but I expect close to a 5 minute run time per Site Collection once I go […]

Windows PowerShell V3 ISE: Copy As HTML Add-On

Posted on 3 CommentsPosted in PowerShell Scripting

In my earlier article where I pointed out some of my favorite features of Windows PowerShell V3 I noted one failing of the new Windows PowerShell ISE – the inability to copy text as HTML so that I can easily paste that HTML into my blog posts. I hate complaining about things if it’s in my ability to fix the issue so I decided to create a custom add-on for the ISE which would add […]

PowerShell V3: A Few of My Favorite Things

Posted on Leave a commentPosted in PowerShell Scripting, SharePoint 2013

Now that SharePoint 2013 has been released to manufacturing and will be available for download soon I figured I’d go ahead and put together a quick post pointing out some of my favorite PowerShell V3 enhancements that you can use to improve your command-line usage of PowerShell as well as your automation scripts. PowerShell V3 + SharePoint 2010 The first thing I wanted to do before I get into some of the new stuff was […]

International SharePoint Conference 2012 Follow-up

Posted on 8 CommentsPosted in PowerShell Scripting, Speaking

First off I apologize for the delay in getting this post out – I’ve been fraught with injuries and illness since my return from London and just haven’t had the time or mental capacity to think about writing anything. During my sessions at the ISC I demonstrated (along with Spence Harbar and Chan Kulathilake) how we could use PowerShell to provision the entire SharePoint 2010 Farm used throughout the IT track at the conference (yeah, […]

Updating SharePoint 2010 User Information

Posted on 81 CommentsPosted in PowerShell Scripting, Scripts, SharePoint 2010

One of my clients recently had an issue where a particularly high profile user (CEO) had their title spelled incorrectly in Active Directory; unfortunately the error wasn’t noticed right away and now, despite changing the information in Active Directory, SharePoint was still showing the wrong title in the People Picker when granting the user rights to a Site Collection. Fortunately I had a partial PowerShell script to fix the issue and just needed to only […]

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 – […]