Issue Azure AI Search REST calls in PowerShell

PowerShell cmdlets with REST API calls to Azure AI Search, demonstrating index creation, data ingestion, and query execution. This sample is standalone and is not referenced in any walkthroughs.

Prerequisites

Setup

  1. Clone or download this sample repository.

  2. Extract contents if the download is a zip file. Make sure the files are read-write.

Run the script.

  1. Open the RestHowTo-Invoke-RestMethod.ps1 file in an editor.

  2. Replace <YOUR-SERVICE-NAME> and <YOUR-ADMIN-API-KEY> with the service and api-key details of your Azure AI Search service.

  3. Open a PowerShell console, navigate to the file location, and run the script: .\RestHowTo-Invoke-RestMethod.ps1.