Skip to content

Instantly share code, notes, and snippets.

@sqlchow
sqlchow / AzureAlertEmail.psm1
Created December 2, 2016 18:19 — forked from crshnbrn66/AzureAlertEmail.psm1
added more functions
function Update-PAzureAlertEmail
{
<#
.SYNOPSIS
This function either adds or removes an email from Alerts in azure
.DESCRIPTION
This function will remove the enclosed email from all the alerts in an azure subscription.
If ADD is specified it will add the email to the all the alerts in an azure subscription.
When this function is called it will return an object of the items that were added or removed.
.EXAMPLE