Import-SPOSearchConfiguration

Retrieves one or more Sites within the current Site Collection.

Import-SPOSearchConfiguration -InputObject <XmlDocumentPipeBind> -ConfigScope <SearchObjectLevel>

Parameters

1

ParameterRequiredTypeDescription
InputObjectTrueXmlDocumentPipeBind

The path to the file containing the search settings to import. The value can be the path a file, an XmlDocument object, or an XML string.

ConfigScopeTrueSearchObjectLevel

The level at which the search settings will be imported.

Detailed Description

Retrieves a single Site given the server relative URL, GUID, or existing SPOWeb object. If a Site identifier is not provided then all Sites are provided.

Copyright 2016 Falchion Consulting, LLC

> For more information on this cmdlet and others:

> http://blog.falchionconsulting.com/

> Use of this cmdlet is at your own risk.

> Gary Lapointe assumes no liability.

Examples

------------------EXAMPLE------------------

PS C:\> Import-SPOSearchConfiguration -InputObject "c:\search.xml" -ConfigScope SPSite

This example imports a search configuration to the current Site Collection.