#Get-SPOSearchConfiguration Returns the search configuration ##Syntax
Get-SPOSearchConfiguration [-Scope <SearchConfigurationScope>] [-Path <String>] [-Web <WebPipeBind>]##Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Path | String | False | |
| Scope | SearchConfigurationScope | False | |
| Web | WebPipeBind | False | The web to apply the command to. Omit this parameter to use the current web. |
| ##Examples |
###Example 1
PS:> Get-SPOSearchConfigurationReturns the search configuration for the current web
###Example 2
PS:> Get-SPOSearchConfiguration -Scope SiteReturns the search configuration for the current site collection
###Example 3
PS:> Get-SPOSearchConfiguration -Scope SubscriptionReturns the search configuration for the current tenant
###Example 4
PS:> Get-SPOSearchConfiguration -Path searchconfig.xml -Scope SubscriptionReturns the search configuration for the current tenant and saves it to the specified file