Latest Posts

View my most recent blog posts

Import, Export, Copy, and Delete List Items

Import, Export, Copy, and Delete List Items

As part of my upgrade I’ve discovered a need to be able to add items to various lists. I considered a couple of approaches including creating a command that would allow me to specify the field names and values that I wanted to add to the list.

Continue Reading
Delete Web Application

Delete Web Application

I had just finished creating the gl-createwebapp command and was about to go and delete the test web applications that I had created while testing the command and I discovered that there is no built in stsadm command for deleting a web application.

Continue Reading
Create Web Application

Create Web Application

It’s been a couple of weeks since my last post – I’ve been traveling and taking some needed vacation time. But I’m back to work now and I’ve got a couple new commands that I just created today.

Continue Reading
Enumerate Effective Base Permissions

Enumerate Effective Base Permissions

I created this command because I was trying to debug an issue I was having. If you go through the central admin and remove a site permission for a web app (central admin > app management > user permissions for web applications) certain functionality that should work regardless of what setting you’ve removed no longer functions.

Continue Reading
Set Search Center

Set Search Center

This was a pretty simple command to create and only took me a few minutes. Basically I needed to be able to set the search center for a site collection. You can do this via the browser by going to http://[portal]/[site collection]/_layouts/enhancedSearch.

Continue Reading
Replace Web Part Content

Replace Web Part Content

If you’ve read some of my earlier posts you’ll know that I’ve been working on 3 commands to enable replacing content throughout the site in order to deal with the broken links I’ve encountered as a result of moving so many sites around for our upgrade.

Continue Reading
10/12 – General Update

10/12 – General Update

Just a friendly reminder that if you are using these commands you’ll want to check back at this blog regularly. I’m sometimes posting updates to the download as often as 3-4 times a day or more depending on what I’m currently working on (there won’t always be a blog post corresponding to every update).

Continue Reading
A Better Import

A Better Import

Some people may have read my post from a few days ago regarding the retargetting of the content query web part which was necessary because I had to move a sub-site from one site collection to another.

Continue Reading
Set Local Site Directory

Set Local Site Directory

Way back one of the first commands I created was one which would allow you to set the Master Site Directory (gl-setmastersitedirectory). It turns out that because my company decided to have each division in it’s own site collection that I also needed to be able to set the local site directory (http://[host]/_layouts/SiteDirectorySettings.

Continue Reading
Publish Items

Publish Items

I wasn’t planning on creating this command but then I ran my gl-replacefieldvalues command and forgot to pass the “-publish” switch in so now I was stuck with all these list items that needed to be published and/or approved.

Continue Reading