1
Vote

Description is being ignored when creating a sitecollection

description

When specifying in the XML to have a sitecollection created, the name specified in the XML will be assigned to both the sitecollections name AND description properties. The description specified in the XML is actually ignored and never used:

$site = New-SPSite -Url $siteURL -OwnerAlias $ownerAlias -SecondaryOwnerAlias $env:USERDOMAIN\$env:USERNAME -ContentDatabase $database -Description $siteCollectionName -Name $siteCollectionName -Language $LCID @templateSwitch @hostHeaderWebAppSwitch -ErrorAction Stop

Line number 2220 of AutoSPInstallerFunctions.ps1

comments