Support for Creating a path based site collection in an HNSC

Topics: Feature Requests
Mar 9, 2015 at 2:38 PM
Edited Mar 9, 2015 at 2:46 PM
I am using the 3.96 version of the script and wanted to create a developer site on my UAT farm

note my HSNC exists at url: https://intranet.domain.com
 <SiteCollection siteUrl="https://intranet.domain.com/appsdev"
                                HostNamedSiteCollection="false"
                                Owner=""
                                Name="Apps Dev"
                                Description="Minerva Apps Dev Site"
                                CustomDatabase=""
                                SearchUrl="https://intranet.domain/searchcenter"
                                CustomTemplate="false"
                                Template="DEV#0"
                                LCID="1033"
                                Locale="en-gb"
                                Time24="false">
                </SiteCollection>
                
Now this failed to create due the url .. so ran the relevant commands separately which worked

Is there support for this in AUtoSPInstaller.
managedPath = "appsdev"
-create our managed path which is available on any HNSC . I think thE command on hte next line is the deal maker!
New-SPManagedPath $managedPath  HostHeader -Explicit
Thereafter I just ran a New-SPSite command and created the dev site collection

Managed paths in in the script seem to be the web app level even though we need to argument these with the above managed path at the "SC" level......

Daniel