SharePoint 2013 Create Search Service Application with PowerShell

This guide shows you how to create a SharePoint 2013 Search Service Application using PowerShell and how this process differs from creating a SharePoint 2010 Search Service Application using PowerShell.

I encountered that activating the topology requires all components created first, otherwise you get an error e.g. 'Set-SPEnterpriseSearchTopology : At least one index partition does not contain any components.'

The old topology wasn't set to inactive for 15 minutes although TechNet says: "This cmdlet enables the search topology with the given identity, marking the currently active search topology as inactive." So maybe I didn't allocated enough system resources (especially I was short of RAM) or it takes more time.