This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |