Create restore-and-keep-users.ps1

This code allows you to easily run a restore, while keeping the users from the site restored TO, not from the site backed up from.

This is idea for test environments or model offices, where you might want to take a backup of content, but not want to keep different users, perhaps even in a different domain.  I found this useful in a situation where we could not use AD groups.

The code has been tested against SharePoint 2010 foundation