$web = get-spweb “url of site collection”
$web.AllProperties["SRCH_ENH_FTR_URL"] = http://searchcenter/pages
$web.Update()
$web = get-spweb “url of site collection”
$web.AllProperties["SRCH_ENH_FTR_URL"] = http://searchcenter/pages
$web.Update()
Moving a site collection to be a sub-site of another site collection can be achieved by exporting the site collection data and importing it as a sub-site.
Below are the steps:
export-spweb “site collection url” -path “export filename” -includeusersecurity –includeversions All
Import-spweb “sub-site url” -path “export file name”