But what if you were running ExCM on multiple
Site Collections? Since it is licensed at the Web Frond End (WFE) level, you
can install ExCM on as many Site Collections as you want. It would be very time
consuming to go to each site, activate the feature, and then configure it. In a
scenario like this, you can save time by using PowerShell to activate ExCM on
each site and also setting some options (such as registration fields) at the
global level in the web.config file. In addition, by using one of our custom
scripts for ExCM we can activate Invitation Registrations and set their
expiration length.

First, let’s activate the ExCM feature on our
site using the SharePoint Management Shell. Here is the syntax:

Enable-SPFeature -Identity ExCM_Extranet -Url
$URL

After running the command, I can now see the
feature has been activated:

Now we can move on to enabling and configuring
our invitation settings via PowerShell. By default, invitations are not
enabled, so this is what we see under “Registration Settings:”