Provision Tenants
Before we can fully provision our tenant, we need to declare some variables that we'll use throughout the following sections. The first thing we'll need is the name of the tenant, or customer, along with the username and email address of the user who will be set as the tenant administrator. For the tenant name, we want to use the value that is used for the OU and the hostname of the tenant's root Site Collection (if you need these to be different values, then declare separate variables; for our purposes, we will use a single value for both):
$tenantName = “Customer1” $tenantAdminLogin = “domain\customer1admin” $tenantAdminEmail = “customer1@domain.com”
Next, we need to get an instance of the Web Application that will host ...
Get Automating Microsoft® SharePoint® 2010 Administration with Windows PowerShell® 2.0 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.