Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.37 KB

event-grid-powershell-subscribe-custom-topic.md

File metadata and controls

39 lines (28 loc) · 1.37 KB
title description services documentationcenter author manager ms.service ms.devlang ms.topic ms.tgt_pltfrm ms.workload ms.date ms.author
Azure PowerShell script sample - Subscribe to custom topic | Microsoft Docs
Azure PowerShell script sample - Subscribe to custom topic
event-grid
na
tfitzmac
timlt
event-grid
powershell
sample
na
na
04/05/2018
tomfitz

Subscribe to events for a custom topic with PowerShell

This script creates an Event Grid subscription to the events for a custom topic.

[!INCLUDE quickstarts-free-trial-note]

Sample script

[!code-powershellmain]

Script explanation

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

Command Notes
New-AzureRmEventGridSubscription Create an Event Grid subscription.

Next steps