< Back

Connect-AzureSearch

Sat Jan 11, 2020 12:05 pm

NAME Connect-AzureSearch



SYNOPSIS

Stores AzureSearch related parameters to scrip variable to be used in other functions.





SYNTAX

Connect-AzureSearch [-Key] <String> [-ServiceName] <String> [[-APIVersion] <String>] [-WhatIf] [-Confirm]

[<CommonParameters>]





DESCRIPTION

The Connect-AzureSearch cmdlet lets you store AzureSearch parameters to scrip variable to be used in other

functions.





PARAMETERS

-Key <String>

Azure Search Admin Key.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ServiceName <String>

Azure Search service name. If your search uri is https://mysearch.search.windows.net/, then mysearch is the

service name.



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-APIVersion <String>

Azure Search API version. (optional)



Required? false

Position? 3

Default value api-version=2016-09-01

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

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 (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Connect-AzureSearch -Key j3fjejfzjo3ifjijf -ServiceName mysearch



This examples connects to Azure Search of https://mysearch.search.windows.net/











RELATED LINKS