So I work in training people on SharePoint and we were setting up an environment for students to work out of. I got the idea that "hey, copy-spsite copies a site so we can just use that to duplicate the 'master' site".
Well, I found when I was going through our curriculum that it has a small quirk. When I use copy-spsite to duplicate sites, it appears that it duplicates items in the recycle bin. If I duplicate the sites and then delete something, there are then two items in the recycle bin. If I try to restore any of the items, I get an error that there is not a unique item in the Database so the action failed.
I know this is a kind of non-standard way of doing things and in production might not be the way to go about things... but it would be REALLY convenient to be able to duplicate sites this way. Has anyone ever seen this, know a way around it, or know a way to prevent it?
Thanks.