SharePoint 2010 – Host-Named Site Collections Using Powershell

March 15th, 2012

Question: How to create host named site collections?

Answer: Create host-named site collections using PowerShell

The management shell in SharePoint 2010 provides a comprehensive set of Windows PowerShell cmdlets that make development, implementation, and management of SharePoint 2010 easier and more effective. The SharePoint management shell replaces the Stsadm.exe management tool. All current and upcoming development of command-line resources and management information in Microsoft SharePoint Foundation 2010 should use this new scripting technology.

However, in order to create named site collection we can make use of the same SharePoint management shell. Following is the way to go:

Create host-named site collections using PowerShell:

Open up the SharePoint 2010 Management Shell and enter the following commands to create a new site collection for each of your desired vanity (Self-love) URLs. In this case I have created a site collection with the host name portal.machsol.com

New-SPSite http://portal.machsol.com -OwnerAlias DOMAIN\username -HostHeaderWebApplication http://web-app-url.com

Related Posts:

Microsoft Exchange 2010 SP2 and Address Book Policies (ABP)

March 14th, 2012

Exchange 2010 SP2 and Address book policies

Exchange 2010 SP2 comes with a solution for something that has plagued Exchange administrators for years – the ability to quickly and easily segregate the Global Address List (GAL) and present a tailored view to respective users. Although, there have been different solutions to accomplish GAL segmentation but never been suggested by Microsoft. However, in release of Exchange 2010 SP2 it has been made a cornerstone feature which termed as Address Book Policies (ABP) which enables Exchange administrators to quickly and easily separate address lists for each organization.

An ABP must contain the following:

  • -      One Global Address List.
  • -      One Offline Address Book.
  • -      One room list. This is required in an ABP. Even if you don’t use these in your company.
  • -      One or more address lists

 ABP in Exchange SP2 are completely Microsoft recommended practices and methods  which should encourage you to setup your Exchange environment and solution for the long term benefit. Having these practices ignored in your Exchange SP2 deployment means that you can run into problems and issues which may not be consulted with either Microsoft or the solution vendor. So, the only remedy for your deployment is to be exactly in accordance with Microsoft guidelines or using Microsoft approved and validated solution for the Exchange just like MachPanel.

Image Credit: Microsoft TechNet Community

Related Posts: