Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.26 KB

powershell-create-custom-topic.md

File metadata and controls

33 lines (22 loc) · 1.26 KB
title description ms.devlang ms.custom ms.topic ms.date
Azure PowerShell script sample - Create custom topic
This article provides a sample Azure PowerShell script that shows how to create an Event Grid custom topic.
powershell
devx-track-azurepowershell
sample
09/15/2021

Create Event Grid custom topic with PowerShell

This script creates an Event Grid custom topic.

[!INCLUDE updated-for-az]

[!INCLUDE quickstarts-free-trial-note]

Sample script

[!code-powershellmain]

Script explanation

This script uses the following command to create the custom topic. Each command in the table links to command-specific documentation.

Command Notes
New-AzEventGridTopic Create an Event Grid custom topic.

Next steps