#Requires -Modules SitecoreInstallFramework | |
[CmdletBinding()] | |
param( | |
[Parameter(Mandatory=$true)] $Hostname, | |
[Parameter(Mandatory=$false)] $User="admin", | |
[Parameter(Mandatory=$false)] $Password="b" | |
) | |
# Invoke service page to populate indexes with default fields | |
Invoke-SitecoreUrlTask -SitecoreInstanceRoot $Hostname -SitecoreActionPath "sitecore/admin/PopulateManagedSchema.aspx?indexes=all" -Username $User -Password $Password |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment