PowerShell Scipt for generating events for Azure Event Hub

A useful PowerShell script I use for sending events to Azure Event Hub demos Login-AzureRmAccount Select-AzureRmSubscription -SubscriptionID ‘<your subscription number>’; Set-ExecutionPolicy Unrestricted Install-Module –Name Azure.EventHub $Token = Get-AzureEHSASToken -URI “<your event hub account>.servicebus.windows.net/<your event hub name>” -AccessPolicyName “<your policy name>” -AccessPolicyKey “<your policy key>” $EventHubUri = “<your event hub account>.servicebus.windows.net/<your event hub name>” $EventHubTimer =…

0