Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Title when extending a Web Application

  Asked By: Cameron    Date: Nov 04    Category: Sharepoint    Views: 6003

I'm am scripting my Sharepoint installation and am trying to set
the "title" when extending/creating the top level site. I am trying

"C:\program files\common files\microsoft shared\web server
extensions\12\bin\stsadm.exe" -o extendvs -url http://url -
ownerlogin "domain\username" -owneremail "bwolin@..." -
exclusivelyusentlm -ownername "Wolin, Bob" -databaseserver SQL1 -
databasename Domain_WSS_Content -sitetemplate spsportal -
title "My Application" -description "Our Portal
Application" -sethostheader -apidname AnAppPool -apidtype
configurableid -apidlogin mossservice -apidpwd mossservicepassword.

STSADM doesn't like the "-title" parameter does anyone know how to
set the title?



2 Answers Found

Answer #1    Answered By: Ada Sosa     Answered On: Nov 04

There is no title  property for the extendvs command. I suspect it will default
to the name of the site  template the way it does when you create a site in SPD.
To set the title you'll need to include the -donotcreatesite switch which will
create the Web Application but not the site collection. Then use the CreateSite
command to create a site collection with a specific title for the top  level

Answer #2    Answered By: Cheyenne Lewis     Answered On: Nov 04

This will create the site  after using Paul's recommended approach of

stsadm.exe -o o createsite -url
http://portal.contoso.msft/<http://portal.contoso.msft/hr> -owneremail
administrator@...<mailto:administrator@...> -ownerlogin
contoso\administrator -ownername Administrator -sitetemplate  spsportal -title
"Contoso Portal"

Didn't find what you were looking for? Find more on Title when extending a Web Application Or get search suggestion and latest updates.