Import-SPOSearchConfig

Synopsis

Imports a search configuration xml file for SharePoint Online

Syntax

Import-SPOSearchConfig -Context <ClientContext> -Path <String> -Scope <String> [<CommonParameters>]

Description

Parameters

-Context <ClientContext>

A SharePoint Online context see Get-SPOContext

Required? True
Position? named
Default value  
Accept pipeline input? true (ByValue)
Accept wildcard characters? False

-Path <String>

File path for the search configuration xml file.

Required? True
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-Scope <String>

Can be SPSiteSubscription(Default),SPSite, SPWeb, Ssa

Required? True
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

Inputs

Outputs

Notes

Examples

Import search configuration

PS C:\> Import-SPOSearchConfig -Context $ctx -Path "C:\Path\to\file.xml" -Scope "SPSite"

Related links

Last edited Aug 5, 2014 at 1:06 AM by provokesolutions, version 9

Comments

No comments yet.