Wget in PowerShell v3

I've been envying my *nix brethren for having Wget for a long time. To get the contents of a web page or download a file using http I had to use workarounds that took more than one command - either creating a new System.Net.WebRequest or using a BITS ...

more ...

Copying List Permissions in SharePoint 2010

I just wrote a small script to copy permissions from one SharePoint list to the other.

Things to consider

  • Custom permission levels are not preserved: For some reason, my method of copying permissions isn't custom-permission-level friendly. The customized permissions will still be copied, but an auto-generated permission level will ...
more ...

Reverse Lookup in SharePoint 2010

Every SharePoint noob knows that one can create list lookup relationships, like specifying that a book belongs in a specific bookshelf.
What I didn't know until today is SharePoint 2010 supports "reverse lookup" out of the box!

What's Lookup?

Consider this.You have 2 lists in your SharePoint ...

more ...


Some Things I Didn't Know About People Picker

Recently I got to mess with SharePoint 2010's People Picker - a control that emulates Windows' "Directory Object Picker", allowing the user to select security principals

  • Active Directory's People Picker:
  • The SharePoint 2010 Variant:

After the Devs asked me to customize it for them, I went rummaging through the ...

more ...

Monitoring SharePoint 2010 on SCOM - Minimal Permissions

I've recently started monitoring my new SharePoint 2010 farms on SCOM, and found the management pack's documentation to be rather lacking in setup instructions, and the required permissions for SCOM's account on the farm were rather shocking:

  • Local admin on all SharePoint servers
  • Local admin on all ...
more ...

"The module ... owssvr.dll could not be loaded due to a configuration problem"

Recently, one of my teammates installed ArcGis Server 9.3 on our fresh SharePoint 2010 box, causing all sites to respond with 503 Service Unavailable. A quick inspection showed that the application pools have stopped themselves, and the Windows application event log was spammed with:

Event ID: 2282
Source: Microsoft-Windows-IIS-W3SVC-WP ...
more ...

Internet Explorer and SPNs

After learning how SPNs work (read my "Who? Why? Where" to learn what's an SPN), I was frustrated to find out that I can't implement my experience in the real world.
I've created a Sharepoint Central Admin site on port 1234, and wanted to enable kerberos authentication ...

more ...

Stsadm / new SPSite is slow

Update: Get the script here

The Story

A couple of days ago, developer extraordinaire Itay Shakury was doing performance tuning on one of our SharePoint applications, and came to me with a problem - creating a new SPSite object took about 30 secs. The stranger part was that only the first ...

more ...